Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newRequestData (0.5 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            if (redirectUrlObj instanceof String) {
                final UrlConvertHelper urlConvertHelper = crawlerContainer.getComponent("urlConvertHelper");
                resultData.addUrl(RequestDataBuilder.newRequestData().get().url(urlConvertHelper.convert(redirectUrlObj.toString())).build());
            }
    
            return resultData;
        }
    
        protected boolean isHtml(final ResponseData responseData) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            urlList.clear();
            urlList.add(RequestDataBuilder.newRequestData().get().url("http://www.example.com").build());
            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(1, urlList.size());
            assertEquals("http://www.example.com", urlList.get(0).getUrl());
    
            urlList.clear();
            urlList.add(RequestDataBuilder.newRequestData().get().url("http://www.example.com").build());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    && isValidCanonicalUrl(responseData.getUrl(), canonicalUrl)) {
                final Set<RequestData> childUrlSet = new HashSet<>();
                childUrlSet.add(RequestDataBuilder.newRequestData().get().url(canonicalUrl).build());
                logger.info("CANONICAL: {} -> {}", responseData.getUrl(), canonicalUrl);
                throw new ChildUrlsException(childUrlSet, this.getClass().getName() + "#putAdditionalData");
    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