Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getLastModified (0.14 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                    responseData = client.execute(RequestDataBuilder.newRequestData().head().url(urlQueue.getUrl()).build());
                    if (responseData != null && responseData.getLastModified() != null
                            && responseData.getLastModified().getTime() <= urlQueue.getLastModified().longValue()
                            && responseData.getHttpStatusCode() == 200) {
                        log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                ftpClient.setInitParameterMap(params);
                final ResponseData responseData = ftpClient.doHead("ftp://localhost:" + FTP_PORT + "/text1.txt");
                assertNotNull(responseData.getLastModified());
                assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
                assertNull(responseData.getResponseBody());
            } finally {
                if (server != null) {
                    server.stop();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            if (synonymLoader != null) {
                if (synonymLoader.isReloadable()) {
                    this.synonymLoader = synonymLoader;
                    this.lastModified = synonymLoader.getLastModified();
                } else {
                    this.synonymLoader = null;
                    this.lastModified = System.currentTimeMillis();
                }
                synonymMap = synonymLoader.getSynonymMap();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getDate();
        }
    
        public long getLastModified() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getLastModified();
        }
    
        public String getHeaderField(String header) {
            try {
                handshake();
            } catch (IOException ex) { }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        }
                        return false;
                    }
                    if (responseData.getLastModified() == null) {
                        return true;
                    }
                    if (responseData.getLastModified().getTime() <= lastModified.getTime() && httpStatusCode == 200) {
    
                        log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
            // content_length
            putResultDataBody(dataMap, fessConfig.getIndexFieldContentLength(), Long.toString(responseData.getContentLength()));
            // last_modified
            final Date lastModified = getLastModified(dataMap, responseData);
            if (lastModified != null) {
                dataMap.put(fessConfig.getIndexFieldLastModified(), lastModified); // overwrite
                // timestamp
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

            final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
            if (logger.isDebugEnabled()) {
                logger.debug("Checking the last modified: {}", urlQueue.getLastModified());
            }
        }
    
        protected void processUnsupportedUrlAtCrawlingStarted(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    
        @Override
        public long getDate () {
            handshake();
            return this.connection.getDate();
        }
    
    
        @Override
        public long getLastModified () {
            handshake();
            return this.connection.getLastModified();
        }
    
    
        @Override
        public String getHeaderField ( String header ) {
            handshake();
            return this.connection.getHeaderField(header);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                urlQueue.setUrl(accessResult.getUrl());
                urlQueue.setParentUrl(accessResult.getParentUrl());
                urlQueue.setDepth(0);
                urlQueue.setLastModified(accessResult.getLastModified());
                urlQueue.setCreateTime(System.currentTimeMillis());
                insert(urlQueue);
            });
        }
    
        protected QueueHolder getQueueHolder(final String sessionId) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            // content_length
            putResultDataBody(dataMap, fessConfig.getIndexFieldContentLength(), Long.toString(responseData.getContentLength()));
            // last_modified
            final Date lastModified = responseData.getLastModified();
            if (lastModified != null) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldLastModified(), lastModified);
                // timestamp
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top