- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setCrawlerClient (0.12 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
final FaultTolerantClient client = new FaultTolerantClient(); final TestClient testClient = new TestClient(); final TestListener testListener = new TestListener(); client.setCrawlerClient(testClient); client.setRequestListener(testListener); final String url = "http://test.com/"; final ResponseData response = client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
} @Override public void close() throws Exception { client.close(); } public CrawlerClient getCrawlerClient() { return client; } public void setCrawlerClient(final CrawlerClient client) { this.client = client; } public int getMaxRetryCount() { return maxRetryCount; } public void setMaxRetryCount(final int maxRetryCount) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
clientFactory = container.getComponent("clientFactory"); FaultTolerantClient httpClient = container.getComponent("httpClient"); httpClient.setCrawlerClient(new HcHttpClient()); clientFactory.addClient("http:.*", httpClient); clientFactory.addClient("https:.*", httpClient); clientFactory.addClient("file:.*", container.getComponent("fsClient"));
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/test/java/org/codelibs/fess/crawler/CrawlerTest.java
client.setCookieSpec(CookieSpecs.BEST_MATCH); }).prototype("httpClient", FaultTolerantClient.class, client -> { client.setCrawlerClient(container.getComponent("internalHttpClient")); client.setMaxRetryCount(5); client.setRetryInterval(500);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0)