- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for defaultResponseProcessor (0.13 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jakarta.annotation.Resource; /** * @author shinsuke * */ public class DefaultResponseProcessor implements ResponseProcessor { private static final Logger logger = LoggerFactory.getLogger(DefaultResponseProcessor.class); @Resource protected CrawlerContainer crawlerContainer; protected Transformer transformer;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessorTest.java
/** * @author shinsuke * */ public class DefaultResponseProcessorTest extends PlainTestCase { public void test_isSuccessful() { DefaultResponseProcessor processor = new DefaultResponseProcessor(); processor.setSuccessfulHttpCodes(new int[] { 200 }); processor.setNotModifiedHttpCodes(new int[] { 304 }); ResponseData responseData = new ResponseData();
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/processor/FessResponseProcessor.java
import org.codelibs.fess.crawler.entity.ResultData; import org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor; import org.codelibs.fess.ingest.IngestFactory; import org.codelibs.fess.ingest.Ingester; import org.codelibs.fess.util.ComponentUtil; import jakarta.annotation.PostConstruct; public class FessResponseProcessor extends DefaultResponseProcessor { private static final Logger logger = LogManager.getLogger(FessResponseProcessor.class);
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/test/java/org/codelibs/fess/crawler/CrawlerTest.java
rule.setRuleId("sitemapsRule"); rule.addRule("url", ".*sitemap.*"); })// .<DefaultResponseProcessor> singleton("defaultResponseProcessor", DefaultResponseProcessor.class, processor -> { processor.setTransformer(container.getComponent("fileTransformer")); processor.setSuccessfulHttpCodes(new int[] { 200 });
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
if (!(responseProcessor instanceof DefaultResponseProcessor)) { throw new CrawlingAccessException("The response processor is not DefaultResponseProcessor. responseProcessor: " + responseProcessor + ", url: " + url); } final Transformer transformer = ((DefaultResponseProcessor) responseProcessor).getTransformer();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
final ResponseProcessor responseProcessor = rule.getResponseProcessor(); if (responseProcessor instanceof DefaultResponseProcessor) { final Transformer transformer = ((DefaultResponseProcessor) responseProcessor).getTransformer(); final ResultData resultData = transformer.transform(responseData);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/rule.xml
<property name="ruleId">"fileRule"</property> <property name="defaultRule">true</property> <property name="responseProcessor"> <component class="org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor"> <property name="transformer">fileTransformer</property> <property name="successfulHttpCodes">(int[])[200]</property> <property name="notModifiedHttpCodes">(int[])[304]</property> </component>
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 1.5K bytes - Viewed (0)