- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getMaxLength (0.1 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java
assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType)); contentLengthHelper.addMaxLength(mimeType, 1000L); assertEquals(1000L, contentLengthHelper.getMaxLength(mimeType)); } public void test_getMaxLength_blank() { String mimeType; mimeType = null; assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType)); mimeType = "";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
} if (maxLength < 0) { throw new CrawlerSystemException("The value of maxLength is invalid."); } maxLengthMap.put(mimeType, maxLength); } public long getMaxLength(final String mimeType) { if (StringUtil.isBlank(mimeType)) { return defaultMaxLength; } final Long maxLength = maxLengthMap.get(mimeType);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
if (maxContentLength < 0) { final ContentLengthHelper contentLengthHelper = crawlerContainer.getComponent("contentLengthHelper"); maxContentLength = contentLengthHelper.getMaxLength(mimeType); } final long contentLength = getContentLength(out); if (contentLength > maxContentLength) { throw new MaxLengthExceededException(
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} } if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond())); if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over "
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} } if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
} if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0)