Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for setURL (0.05 sec)

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

                responseData.setResponseBody(data.getBytes());
                responseData.setSessionId("test-1");
                responseData.setStatus(0);
                responseData.setUrl("http://fess.codelibs.org/test.html");
                /*ResultData resultData =*/fessXpathTransformer.transform(responseData);
                // System.out.println(resultData.toString());
            }
    
    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

                if (count <= exceptionCount) {
                    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

        }
    
        public void test_transform() {
            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/");
            responseData.setResponseBody(data);
            responseData.setCharSet("ISO-8859-1");
            final ResultData resultData = htmlTransformer.transform(responseData);
    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

                        uq.setDepth(depth);
                        uq.setMethod(Constants.GET_METHOD);
                        uq.setParentUrl(url);
                        uq.setSessionId(crawlerContext.sessionId);
                        uq.setUrl(d.getUrl());
                        uq.setMetaData(d.getMetaData());
                        return uq;
                    }).collect(Collectors.toList());
            urlQueueService.offerAll(crawlerContext.sessionId, childList);
    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

        @Test
        public void mergeUrl()
        {
            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 );
    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() {
            final DOMParser parser = new DOMParser();
            try {
    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

            if (exists(sessionId, url)) {
                return;
            }
            final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
            urlQueue.setSessionId(sessionId);
            urlQueue.setUrl(url);
            urlQueue.setCreateTime(System.currentTimeMillis());
            urlQueue.setLastModified(0L);
            urlQueue.setDepth(0);
            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    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. 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)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            final ResponseData responseData = new ResponseData();
            try {
                responseData.setMethod(Constants.GET_METHOD);
                final String filePath = preprocessUri(uri);
                responseData.setUrl(filePath);
    
                File file = null;
                try {
                    file = new File(new URI(filePath));
                } catch (final URISyntaxException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FailureUrlDbm.java

                    "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)
Back to top