- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setContentLength (0.1 sec)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
// delete all files runner.clean(); } public void test_insert_deleteTx() { final OpenSearchAccessResult accessResult1 = new OpenSearchAccessResult(); accessResult1.setContentLength(Long.valueOf(10)); accessResult1.setCreateTime(System.currentTimeMillis()); accessResult1.setExecutionTime(10); accessResult1.setHttpStatusCode(200);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
Resource resource = inputData.getResource(); String content = expectedContent.get(resource.getName()); if (content != null) { resource.setContentLength(content.length()); resource.setLastModified(System.currentTimeMillis()); inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); ftpClientQueue.offer(client); return; } if (file.isSymbolicLink()) { final String link = file.getLink(); String redirect = null;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
} public void setCharSet(final String charSet) { this.charSet = charSet; } public long getContentLength() { return contentLength; } public void setContentLength(final long contentLength) { this.contentLength = contentLength; } public String getMimeType() { return mimeType; } public void setMimeType(final String contentType) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java
}, true)); TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", new File(""), null); resource.setContentLength(size - 1); DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle // warm up test(listener, session, resource, 0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
target.setUrl(getFieldValue(fields.get("url"), String.class)); target.setExecutionTime(getFieldValue(fields.get("executionTime"), Integer.class)); target.setContentLength(getFieldValue(fields.get("contentLength"), Long.class)); target.setRuleId(getFieldValue(fields.get("ruleId"), String.class));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
} ResponseData responseData = new ResponseData(); responseData.setCharSet("UTF-8"); responseData.setContentLength(data.length()); responseData.setExecutionTime(1000L); responseData.setHttpStatusCode(200); responseData.setLastModified(new Date()); responseData.setMethod("GET");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0)