- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setContentLength (0.08 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) -
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)