Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getLastModified (0.06 sec)

  1. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            final String url = "http://localhost:7070/";
            try {
                final ResponseData responseData = httpClient.doHead(url);
                assertNotNull(responseData.getLastModified());
                assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            } finally {
                server.stop();
            }
        }
    
        public void test_doGet_accessTimeoutTarget() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

            }
    
            /**
             * Gets the date of the storage object.
             * This method returns the same value as getLastModified().
             *
             * @return The date in milliseconds since epoch
             */
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            /**
             * Returns the last modified date of the storage object.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. 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 Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                    if (responseData != null && responseData.getLastModified() != null
                            && responseData.getLastModified().getTime() <= urlQueue.getLastModified().longValue()
                            && responseData.getHttpStatusCode() == 200) {
                        log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            } catch (final IOException ex) {}
            return connection.getDate();
        }
    
        @Override
        public long getLastModified() {
            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getLastModified();
        }
    
        @Override
        public String getHeaderField(final String header) {
            try {
                handshake();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K 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(final String header) {
            handshake();
            return this.connection.getHeaderField(header);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. 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());
            }
        }
    
        /**
         * Processes unsupported URL log events.
         *
         * @param objs the log objects (should contain UrlQueue)
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top