Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FaultTolerantClient (0.12 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

        public interface RequestListener {
    
            void onRequestStart(FaultTolerantClient client, RequestData request);
    
            void onRequest(FaultTolerantClient client, RequestData request, int count);
    
            void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList);
    
            void onException(FaultTolerantClient client, RequestData request, int count, Exception e);
    
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class FaultTolerantClientTest extends PlainTestCase {
    
        public void test_doGet() {
            final FaultTolerantClient client = new FaultTolerantClient();
            final TestClient testClient = new TestClient();
            final TestListener testListener = new TestListener();
            client.setCrawlerClient(testClient);
    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/client/CrawlerClientFactoryTest.java

            assertTrue(client instanceof FaultTolerantClient);
            assertTrue(((FaultTolerantClient) client).getCrawlerClient() instanceof HcHttpClient);
    
            url = "https://hoge.com/";
            client = clientFactory.getClient(url);
            assertNotNull(client);
            assertTrue(client instanceof FaultTolerantClient);
            assertTrue(((FaultTolerantClient) client).getCrawlerClient() instanceof HcHttpClient);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

    import java.util.Map;
    
    import org.apache.http.client.config.CookieSpecs;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.FaultTolerantClient;
    import org.codelibs.fess.crawler.client.fs.FileSystemClient;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top