Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for content_length (0.17 sec)

  1. fess-crawler-opensearch/src/main/resources/mapping/data.json

                "type": "keyword"
              },
              "encoding": {
                "type": "keyword"
              },
              "data": {
                "type": "binary"
              }
            }
          },
          "contentLength": {
            "type": "long"
          },
          "lastModified": {
            "type": "long"
          },
          "ruleId": {
            "type": "keyword"
          },
          "httpStatusCode": {
            "type": "integer"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

            String contentType = response.getHeaderValue("Content-Type");
            String contentLength = response.getHeaderValue("content-length"); // Test case insensitive
            String missing = response.getHeaderValue("Missing-Header");
    
            assertEquals("application/json", contentType);
            assertEquals("100", contentLength);
            assertNull(missing);
        }
    
        @Test
        public void testGetHeaderValues() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         * Fields to fetch for access result list without data.
         */
        private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime",
                "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" };
    
        /**
         * Creates a new instance of OpenSearchDataService.
         * @param crawlerConfig The crawler configuration.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

         * @return the content length
         */
        Long getContentLength();
    
        /**
         * Sets the content length of the accessed resource.
         *
         * @param contentLength the content length
         */
        void setContentLength(Long contentLength);
    
        /**
         * Returns the last modified time of the accessed resource.
         *
         * @return the last modified time
         */
        Long getLastModified();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                        final long contentLength = Long.parseLong(value);
                        if (contentLengthHelper != null) {
                            final long maxLength = contentLengthHelper.getMaxLength("text/plain");
                            if (contentLength > maxLength) {
                                throw new MaxLengthExceededException("The content length (" + contentLength + " byte) is over " + maxLength
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    final long contentLength;
                    if (isByteStream) {
                        contentLength = ((ByteArrayInputStream) inputStream).available();
                    } else {
                        contentLength = tempFile != null ? tempFile.length() : 0;
                    }
                    extractData.putValue("Content-Length", Long.toString(contentLength));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/main/resources/crawler/client.xml

    	"http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    	<include path="crawler/robotstxt.xml" />
    	<include path="crawler/contentlength.xml" />
    	<include path="crawler/mimetype.xml" />
    
    	<component name="internalHttpClient" class="org.codelibs.fess.crawler.client.http.HcHttpClient"
    		instance="prototype">
    		<property name="connectionTimeout">15000</property>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
            SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (3)
  9. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            try {
                final PutObjectRequest request =
                        PutObjectRequest.builder().bucket(bucket).key(objectName).contentType(contentType).contentLength(size).build();
                s3Client.putObject(request, RequestBody.fromInputStream(inputStream, size));
            } catch (final Exception e) {
                throw new StorageException("Failed to upload " + objectName, e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

            @Override
            public long getContentLengthLong() {
                try {
                    if (!connected) {
                        connect();
                    }
                    return getHeadObject().contentLength();
                } catch (final IOException e) {
                    return -1;
                }
            }
    
            /**
             * Gets the content type of the S3 object.
             *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top