Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for setURL (0.06 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

            assertNotNull(new License().toString());
        }
    
        public void testToStringNotNonsense() {
            License license = new License();
            license.setName("Unlicense");
            license.setUrl("http://lic.localdomain");
    
            String s = license.toString();
    
            assert "License {name=Unlicense, url=http://lic.localdomain}".equals(s) : s;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

        }
    
        public void setFilterType(final String filterType) {
            this.filterType = filterType;
        }
    
        public String getUrl() {
            return url;
        }
    
        public void setUrl(final String url) {
            this.url = url;
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/Handler.java

            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if( port == -1 ) {
                port = getDefaultPort();
            }
            setURL( u, "smb", u.getHost(), port,
                        u.getAuthority(), u.getUserInfo(),
                        path, u.getQuery(), null );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

                this.method = Method.HEAD;
            } else {
                this.method = Method.GET;
            }
        }
    
        public String getUrl() {
            return url;
        }
    
        public void setUrl(final String url) {
            this.url = url;
        }
    
        public String getMetaData() {
            return metaData;
        }
    
        public void setMetaData(final String metaData) {
            this.metaData = metaData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
            final AccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/");
            assertNotNull(accessResult2);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
                    repository.setLayout(original.getLayout());
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertNull(localLogMsg.get());
        }
    
        public void test_beginDoneWithRecord1WithStatsKeyObject() {
            StatsKeyObject key = new StatsKeyObject("id");
            crawlerStatsHelper.begin(key);
            key.setUrl("test");
            crawlerStatsHelper.record(key, "aaa");
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            String[] values = localLogMsg.get().split("\t");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            final Long waittime = 100L;
    
            CrawlingParameterUtil.setUrlQueue(new UrlQueueImpl());
            final UrlQueue q = CrawlingParameterUtil.getUrlQueue();
            for (int i = 0; i < numTasks; i++) {
                q.setUrl("http://example.com");
            }
    
            final HostIntervalController controller = new HostIntervalController();
            controller.delayMillisBeforeProcessing = waittime;
            controller.delayMillisAfterProcessing = 0L;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top