- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 169 for setUrl (0.09 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
responseData.setUrl("http://example.com/sitemap.xml"); File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml"); responseData.setResponseBody(file, false); return responseData; } private ResponseData getTestData2_OK() { final ResponseData responseData = new ResponseData(); responseData.setUrl("http://example.com/sitemap.xml.gz");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
esUrlFilter.setSessionId(sessionId); esUrlFilter.setFilterType(INCLUDE); esUrlFilter.setUrl(url); insert(esUrlFilter, OpType.INDEX); includeFilterCache.invalidate(sessionId); } @Override public void addIncludeUrlFilter(final String sessionId, final List<String> urlList) { final Set<String> invalidateSet = new HashSet<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
final UrlQueueImpl<Long> urlQueue = new UrlQueueImpl<>(); urlQueue.setSessionId(sessionId); urlQueue.setMethod(Constants.GET_METHOD); urlQueue.setUrl(url); urlQueue.setUrl(url); urlQueue.setDepth(0); urlQueue.setCreateTime(SystemUtil.currentTimeMillis()); urlQueueList.add(urlQueue); } } /* * (non-Javadoc)
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
profile.setId("pro"); settings.addProfile(profile); Repository repo1 = new Repository(); repo1.setUrl("http://apache.org/"); repo1.setId("test"); profile.addRepository(repo1); Repository repo2 = new Repository(); repo2.setUrl("http://apache.org/"); repo2.setId("test"); profile.addRepository(repo2);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
assertNotNull(rule); assertEquals("fileRule", rule.getRuleId()); } public void test_getRule_sitemaps1() { final ResponseData responseData = new ResponseData(); responseData.setUrl("http://www.example.com/sitemap1.xml"); File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml"); responseData.setResponseBody(file, false); final Rule rule = ruleManager.getRule(responseData);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java
public void test_checkMaxContentLength() { AbstractCrawlerClient client = new AbstractCrawlerClient() { }; ResponseData responseData = new ResponseData(); responseData.setUrl("http://test.com/"); client.checkMaxContentLength(responseData); responseData.setContentLength(-1); client.checkMaxContentLength(responseData); responseData.setContentLength(1000L);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
public void normalize(Model model, ModelBuildingRequest request) { if (model == null) { return; } model.setUrl(normalize(model.getUrl())); Scm scm = model.getScm(); if (scm != null) { scm.setUrl(normalize(scm.getUrl())); scm.setConnection(normalize(scm.getConnection())); scm.setDeveloperConnection(normalize(scm.getDeveloperConnection())); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (1) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
responseData.setHttpStatusCode(200); responseData.setUrl("http://example.com/"); responseData.setMimeType("text/html"); return responseData; } private ResponseData getTestData2() { final ResponseData responseData = new ResponseData(); responseData.setHttpStatusCode(200); responseData.setUrl("https://example.com/"); responseData.setMimeType("text/html");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
urlQueue.setUrl("http://www.id1.com/"); urlQueueService.insert(urlQueue); final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue(); urlQueue2.setCreateTime(System.currentTimeMillis()); urlQueue2.setDepth(1); urlQueue2.setMethod("GET"); urlQueue2.setSessionId("id2"); urlQueue2.setUrl("http://www.id2.com/");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5.1K bytes - Viewed (0) -
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)