Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isNotModified (0.32 sec)

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

            assertTrue(processor.isNotModified(responseData));
    
            responseData.setHttpStatusCode(100);
            assertFalse(processor.isNotModified(responseData));
            responseData.setHttpStatusCode(200);
            assertFalse(processor.isNotModified(responseData));
            responseData.setHttpStatusCode(404);
            assertFalse(processor.isNotModified(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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

        protected Transformer transformer;
    
        protected int[] successfulHttpCodes;
    
        protected int[] notModifiedHttpCodes;
    
        @Override
        public void process(final ResponseData responseData) {
            if (isNotModified(responseData)) {
                final UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
                final ResultData resultData = new ResultData();
                resultData.setData(new byte[0]);
    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