Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setSuccessfulHttpCodes (0.17 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessorTest.java

     *
     */
    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();
            responseData.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

            this.transformer = transformer;
        }
    
        public int[] getSuccessfulHttpCodes() {
            return successfulHttpCodes;
        }
    
        public void setSuccessfulHttpCodes(final int[] successfulHttpCodes) {
            this.successfulHttpCodes = successfulHttpCodes;
        }
    
        public int[] getNotModifiedHttpCodes() {
            return notModifiedHttpCodes;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                        processor.setTransformer(container.getComponent("fileTransformer"));
                        processor.setSuccessfulHttpCodes(new int[] { 200 });
                        processor.setNotModifiedHttpCodes(new int[] { 304 });
                    })//
                    .<RegexRule> singleton("fileRule", RegexRule.class, rule -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top