Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for internalHttpClient (0.1 sec)

  1. fess-crawler-lasta/src/main/resources/crawler/client.xml

    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    	<include path="crawler/robotstxt.xml" />
    	<include path="crawler/contentlength.xml" />
    	<include path="crawler/mimetype.xml" />
    
    	<component name="internalHttpClient" class="org.codelibs.fess.crawler.client.http.HcHttpClient"
    		instance="prototype">
    		<property name="connectionTimeout">15000</property>
    		<property name="soTimeout">30000</property>
    	</component>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            container = new StandardCrawlerContainer();
            container.<HcHttpClient> prototype("internalHttpClient", HcHttpClient.class, client -> {
                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)
Back to top