Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setCookieSpec (0.16 sec)

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

            requestConfigBuilder.setRedirectsEnabled(getInitParameter(REDIRECTS_ENABLED, redirectsEnabled, Boolean.class));
    
            // cookie
            if (cookieSpec != null) {
                requestConfigBuilder.setCookieSpec(cookieSpec);
            }
    
            // cookie store
            httpClientBuilder.setDefaultCookieStore(cookieStore);
            if (cookieStore != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            childUrlRuleMap.put("//SCRIPT", "src");
    
            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);
    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