- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for ResponseData (0.12 sec)
-
src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java
} } @Override protected AccessResult<?> createAccessResult(final ResponseData responseData, final ResultData resultData) { return super.createAccessResult(responseData, ingest(responseData, resultData)); } private ResultData ingest(final ResponseData responseData, final ResultData resultData) { if (ingestFactory == null) { return resultData; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.3K bytes - Viewed (0) -
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/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
assertEquals("application/octet-stream", responseData.getMimeType()); assertNull(responseData.getResponseBody()); assertNull(responseData.getMetaDataMap().get("label")); } try (final ResponseData responseData = storageClient.doHead("storage://fess/")) { assertNull(responseData); }
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/rule/impl/RuleManagerImplTest.java
responseData.setResponseBody(file, false); final Rule rule = ruleManager.getRule(responseData); assertNotNull(rule); assertEquals("sitemapsRule", rule.getRuleId()); CloseableUtil.closeQuietly(responseData); } public void test_getRule_sitemaps2() { final ResponseData responseData = new ResponseData(); responseData.setUrl("http://www.example.com/sitemap1.xml.gz");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java
}; ResponseData responseData = new ResponseData(); responseData.setUrl("http://test.com/"); client.checkMaxContentLength(responseData); responseData.setContentLength(-1); client.checkMaxContentLength(responseData); responseData.setContentLength(1000L); client.checkMaxContentLength(responseData); responseData.setContentLength(1000000L);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessorTest.java
ResponseData responseData = new ResponseData(); responseData.setHttpStatusCode(200); assertTrue(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(100); assertFalse(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(304); assertFalse(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(404);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
protected Map<String, String> metaContentMapping; protected FessConfig fessConfig; protected abstract Extractor getExtractor(ResponseData responseData); @Override public ResultData transform(final ResponseData responseData) { if (responseData == null || !responseData.hasResponseBody()) { throw new CrawlingAccessException("No response body."); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("file:/test.txt"); responseData.setCharSet(Constants.UTF_8); responseData.setResponseBody(data); responseData.setMimeType("text/plain"); final ResultData resultData = textTransformer.transform(responseData);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
/* * (non-Javadoc) * * @see org.codelibs.fess.crawler.rule.RuleManager#getRule(org.codelibs.fess.crawler.entity.ResponseData) */ @Override public Rule getRule(final ResponseData responseData) { for (final Rule rule : ruleList) { if (rule.match(responseData)) { return rule; } } return null; } /* * (non-Javadoc)
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
@Override public ResultData transform(final ResponseData responseData) { if (responseData == null || !responseData.hasResponseBody()) { throw new CrawlingAccessException("No response body."); } // encoding updateCharset(responseData); final ResultData resultData = new ResultData();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0)