- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for getContentLength (0.12 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
}; } protected void checkMaxContentLength(final ResponseData responseData) { if (maxContentLength != null && responseData.getContentLength() > maxContentLength.longValue()) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxContentLength.longValue() + " byte. The url is " + responseData.getUrl()); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
name = name.substring(1); } return name; } public String getUrl() { return getRepositoryUrl() + getName(); } public long getContentLength() { return resource.getContentLength(); } public long getTransferStartTime() { return transferStartTime; } @Override public String toString() { return getUrl(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
assertEquals("text/plain", responseData.getMimeType()); assertEquals("file1", new String(InputStreamUtil.getBytes(responseData.getResponseBody()))); assertEquals(5, responseData.getContentLength()); assertEquals("label1", responseData.getMetaDataMap().get("label")); } try (final ResponseData responseData = storageClient.doGet("storage://fess/dir1/file2.txt")) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertEquals(200, responseData.getHttpStatusCode()); assertEquals("UTF-8", responseData.getCharSet()); assertTrue(6 == responseData.getContentLength() || 7 == responseData.getContentLength()); assertNotNull(responseData.getLastModified()); assertEquals(Constants.GET_METHOD, responseData.getMethod()); assertEquals("text/plain", responseData.getMimeType());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxLength + " byte. The url is " + filePath); } }
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/smb1/SmbClient.java
final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxLength + " byte. The url is " + filePath); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java
*/ String getUrl(); /** * The size of the artifact in bytes. * * @return The of the artifact in bytes or a negative value if unknown. */ long getContentLength(); /** * Gets the timestamp when the transfer of this artifact was started. * * @return The timestamp when the transfer of this artifact was started. */ long getTransferStartTime();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
void setExecutionTime(Integer executionTime); AccessResultData<IDTYPE> getAccessResultData(); void setAccessResultData(AccessResultData<IDTYPE> accessResultData); Long getContentLength(); void setContentLength(Long contentLength); Long getLastModified(); void setLastModified(Long lastModified);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxLength + " byte. The url is " + filePath); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0)