Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for setUrl (0.05 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(2, urlList.size());
            assertEquals("http://www.example.com", urlList.get(0).getUrl());
            assertEquals("http://www.test.com", urlList.get(1).getUrl());
    
            urlList.clear();
            urlList.add(RequestDataBuilder.newRequestData().get().url("feed://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)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                    throw new CrawlerSystemException("exception " + count);
                }
    
                final ResponseData responseData = new ResponseData();
                responseData.setUrl(request.getUrl());
                responseData.setMethod(request.getMethod().toString());
                return responseData;
            }
    
            /*
             * (non-Javadoc)
             *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals("http://hoge/test2.html", resultData.getChildUrlSet().iterator().next().getUrl());
        }
    
        public void test_transform_urllink() {
            String content = "<a href=\"http://fuga/test.html\">test</a>";
            final byte[] data = new String(content).getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/test.html");
            responseData.setResponseBody(data);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            final Set<String> urlSet = new HashSet<>();
            final List<UrlQueue<?>> childList = childUrlList.stream().filter(d -> StringUtil.isNotBlank(d.getUrl())
                    && urlSet.add(d.getUrl() + "\n" + d.getMetaData()) && crawlerContext.urlFilter.match(d.getUrl())).map(d -> {
                        final UrlQueue<?> uq = crawlerContainer.getComponent("urlQueue");
                        uq.setCreateTime(SystemUtil.currentTimeMillis());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model target = new Model();
            target.setUrl( "TARGET" );;
    
            Model source = new Model();
            source.setUrl( "SOURCE" );
    
            modelMerger.merge( target, source, true, null );
            assertThat( target.getUrl(), is( "SOURCE" ) );
    
            target.setUrl( "TARGET" );;
            modelMerger.merge( target, source, false, null );
            assertThat( target.getUrl(), is( "TARGET" ) );
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        }
    
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        protected DOMParser getDomParser() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
                urlQueue.setSessionId(sessionId);
                urlQueue.setMethod(accessResult.getMethod());
                urlQueue.setUrl(accessResult.getUrl());
                urlQueue.setParentUrl(accessResult.getParentUrl());
                urlQueue.setDepth(0);
                urlQueue.setLastModified(accessResult.getLastModified());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FailureUrlDbm.java

            setupEpg(_epgMap, et -> ((FailureUrl) et).getThreadName(), (et, vl) -> ((FailureUrl) et).setThreadName(DfTypeUtil.toString(vl)),
                    "threadName");
            setupEpg(_epgMap, et -> ((FailureUrl) et).getUrl(), (et, vl) -> ((FailureUrl) et).setUrl(DfTypeUtil.toString(vl)), "url");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
            return doFindEpg(_epgMap, prop);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                    if (!accessTimeoutTask.isCanceled()) {
                        accessTimeoutTask.cancel();
                    }
                }
            }
            return data;
        }
    
        public void setUrl(final String url) {
            this.url = url;
        }
    
        public void setConnectionTimeout(final Integer connectionTimeout) {
            this.connectionTimeout = connectionTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        repository.getUrl(),
                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top