Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for responseProcessor (0.35 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/ResponseProcessor.java

     */
    package org.codelibs.fess.crawler.processor;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    public interface ResponseProcessor {
    
        void process(ResponseData responseData);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 839 bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

        public void setRuleId(final String ruleId) {
            this.ruleId = ruleId;
        }
    
        @Override
        public ResponseProcessor getResponseProcessor() {
            return responseProcessor;
        }
    
        public void setResponseProcessor(final ResponseProcessor responseProcessor) {
            this.responseProcessor = responseProcessor;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/resources/crawler/rule.xml

    		</postConstruct>
    	</component>
    
    	<component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule" >
    		<property name="ruleId">"sitemapsRule"</property>
    		<property name="responseProcessor">
    			<component class="org.codelibs.fess.crawler.processor.impl.SitemapsResponseProcessor">
    			</component>
    		</property>
    		<postConstruct name="addRule">
    			<arg>"url"</arg>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                responseData.setRuleId(rule.getRuleId());
                final ResponseProcessor responseProcessor = rule.getResponseProcessor();
                if (!(responseProcessor instanceof DefaultResponseProcessor)) {
                    throw new CrawlingAccessException("The response processor is not DefaultResponseProcessor. responseProcessor: "
                            + responseProcessor + ", url: " + url);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                } else {
                    responseData.setRuleId(rule.getRuleId());
                    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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            } else {
                responseData.setRuleId(rule.getRuleId());
                final ResponseProcessor responseProcessor = rule.getResponseProcessor();
                if (responseProcessor == null) {
                    log(logHelper, LogType.NO_RESPONSE_PROCESSOR, crawlerContext, urlQueue, responseData, rule);
                } else {
                    responseProcessor.process(responseData);
                }
            }
    
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessor.java

     */
    package org.codelibs.fess.crawler.processor.impl;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    /**
     * @author kuma
     *
     */
    public class NullResponseProcessor implements ResponseProcessor {
    
        @Override
        public void process(final ResponseData responseData) {
            // do nothing
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 987 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    /**
     * @author shinsuke
     *
     */
    public interface Rule extends Serializable {
    
        boolean match(ResponseData responseData);
    
        String getRuleId();
    
        ResponseProcessor getResponseProcessor();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1007 bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/rule.xml

    			<arg>fileRule</arg>
    		</postConstruct>
    	</component>
    
    	<component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.SitemapsRule">
    		<property name="ruleId">"sitemapsRule"</property>
    		<property name="responseProcessor">
    			<component
    				class="org.codelibs.fess.crawler.processor.impl.SitemapsResponseProcessor">
    			</component>
    		</property>
    		<postConstruct name="addRule">
    			<arg>"url"</arg>
    			<arg>".*sitemap.*"</arg>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.entity.UrlQueue;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    import org.codelibs.fess.crawler.service.UrlQueueService;
    import org.codelibs.fess.crawler.transformer.Transformer;
    import org.codelibs.fess.crawler.util.CrawlingParameterUtil;
    import org.slf4j.Logger;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top