Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getChildUrlList (0.1 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            }
            try (final ResponseData responseData = storageClient.doGet("storage://fess/")) {
                fail();
            } catch (ChildUrlsException e) {
                String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]);
                assertEquals(3, values.length);
                assertEquals("storage://fess/dir1/", values[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

            super("Threw child urls(" + childUrlList.size() + "). " + description, false, false);
            this.childUrlList = childUrlList;
        }
    
        public Set<RequestData> getChildUrlList() {
            return childUrlList;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        }
                    } catch (final ChildUrlsException e) {
                        crawlerStatsHelper.record(keyObj, StatsAction.CHILD_URLS);
                        e.getChildUrlList().stream().map(RequestData::getUrl).forEach(urlQueue::offer);
                    } catch (final DataStoreCrawlingException e) {
                        crawlerStatsHelper.record(keyObj, StatsAction.ACCESS_EXCEPTION);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            try {
                transformer.processXRobotsTag(responseData, new ResultData());
                fail();
            } catch (ChildUrlsException e) {
                assertTrue(e.getChildUrlList().isEmpty());
            } catch (Exception e) {
                fail();
            }
        }
    
        public void test_processXRobotsTag_noindex() throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/");
                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
                assertEquals(5, urlSet.size());
                for (final RequestData requestData : urlSet.toArray(new RequestData[urlSet.size()])) {
                    String url = requestData.getUrl();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            }
            try {
                fsClient.doGet("file://" + path);
                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
                for (final RequestData requestData : urlSet.toArray(new RequestData[urlSet.size()])) {
                    String url = requestData.getUrl();
                    if (url.indexOf(".svn") < 0) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        } catch (final ChildUrlsException e) {
                            try {
                                final Set<RequestData> childUrlSet = e.getChildUrlList();
                                log(logHelper, LogType.PROCESS_CHILD_URLS_BY_EXCEPTION, crawlerContext, urlQueue, childUrlSet);
                                // add an url
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top