- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for clientFactory (0.1 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
.singleton("clientFactory", CrawlerClientFactory.class); clientFactory = container.getComponent("clientFactory"); FaultTolerantClient httpClient = container.getComponent("httpClient"); httpClient.setCrawlerClient(new HcHttpClient()); clientFactory.addClient("http:.*", httpClient); clientFactory.addClient("https:.*", httpClient);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
@Resource protected CrawlerContainer crawlerContainer; @Resource protected IntervalController intervalController; @Resource protected CrawlerClientFactory clientFactory; protected CrawlerContext crawlerContext; protected boolean background = false; protected boolean daemon = false; protected int threadPriority = Thread.NORM_PRIORITY;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
} public void setNoWaitOnFolder(final boolean noWaitOnFolder) { this.noWaitOnFolder = noWaitOnFolder; } public void setClientFactory(final CrawlerClientFactory clientFactory) { this.clientFactory = clientFactory; } public void setCrawlerContext(final CrawlerContext crawlerContext) { this.crawlerContext = crawlerContext; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/client.xml
<property name="charset">"UTF-8"</property> </component> <component name="crawlerClientCreator" class="org.codelibs.fess.crawler.client.CrawlerClientCreator"> </component> <component name="clientFactory" class="org.codelibs.fess.crawler.client.CrawlerClientFactory" instance="prototype"> <postConstruct name="addClient"> <arg>["http:.*", "https:.*"]</arg> <arg>httpClient</arg> </postConstruct>
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Aug 08 12:54:47 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
return e.getFirst(); } return null; }).filter(StringUtil::isNotBlank).findFirst()// .map(s -> clientFactory.getClient(s + ":" + url))// .orElseGet(() -> clientFactory.getClient(url)); if (logger.isDebugEnabled()) { logger.debug("CrawlerClient: {}", client.getClass().getCanonicalName()); } return client;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
}).singleton("dataHelper", MemoryDataHelper.class).singleton("robotsTxtHelper", RobotsTxtHelper.class) .<CrawlerClientFactory> singleton("clientFactory", CrawlerClientFactory.class, factory -> { factory.addClient("http:.*", container.getComponent("httpClient")); factory.addClient("file:.*", container.getComponent("fsClient"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0)