Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getLastModified (0.12 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                path = "/" + path.replace('\\', '/');
            }
            final ResponseData responseData = fsClient.doHead("file:" + path);
            assertNotNull(responseData.getLastModified());
            assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            assertNull(responseData.getResponseBody());
        }
    
        public void test_doHead_dir() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            try {
                final ResponseData responseData = httpClient.doHead(url);
                Thread.sleep(100);
                assertNotNull(responseData.getLastModified());
                assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            } finally {
                server.stop();
            }
        }
    
        public void test_doGet_accessTimeoutTarget() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. 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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

            this.createTime = createTime;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#getLastModified()
         */
        @Override
        public Long getLastModified() {
            return lastModified;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setLastModified(java.sql.Long)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    return null;
                }
            }
    
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            @Override
            public long getLastModified() {
                if (minioClient == null) {
                    return 0;
                }
                try {
                    return getStatObject().lastModified().toEpochSecond();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. 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)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

                    urlQueue.setParentUrl(entry.getValue().getParentUrl());
                    urlQueue.setDepth(0);
                    urlQueue.setLastModified(entry.getValue().getLastModified());
                    urlQueue.setCreateTime(SystemUtil.currentTimeMillis());
                    urlQueueList.add(urlQueue);
                }
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        void setEncoding(String encoding);
    
        String getParentUrl();
    
        void setParentUrl(String parentUrl);
    
        Integer getDepth();
    
        void setDepth(Integer depth);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    
        Long getCreateTime();
    
        void setCreateTime(Long createTime);
    
        float getWeight();
    
        void setWeight(float weight);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top