Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for HcHttpClient (0.1 sec)

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

    import org.codelibs.fess.crawler.util.CrawlingParameterUtil;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     *
     */
    public class HcHttpClient extends AbstractCrawlerClient {
    
        public static final String CONNECTION_TIMEOUT_PROPERTY = "connectionTimeout";
    
        public static final String SO_TIMEOUT_PROPERTY = "soTimeout";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

                public static final String ROBOTS_TXT_ENABLED = HcHttpClient.ROBOTS_TXT_ENABLED_PROPERTY;
                public static final String PROXY_PASSWORD = "proxyPassword";
                public static final String PROXY_USERNAME = "proxyUsername";
                public static final String PROXY_PORT = HcHttpClient.PROXY_PORT_PROPERTY;
                public static final String PROXY_HOST = HcHttpClient.PROXY_HOST_PROPERTY;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            } finally {
                server.stop();
            }
        }
    
        public void test_doGet_accessTimeoutTarget() {
            HcHttpClient client = new HcHttpClient() {
                @Override
                protected ResponseData processHttpMethod(final String url, final HttpUriRequest httpRequest) {
                    try {
                        Thread.sleep(10000);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            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);
    
            url = "file:/home/hoge";
            client = clientFactory.getClient(url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            if (StringUtil.isNotBlank(proxyHost) && StringUtil.isNotBlank(proxyPort)) {
                factoryParamMap.put(HcHttpClient.PROXY_HOST_PROPERTY, proxyHost);
                factoryParamMap.put(HcHttpClient.PROXY_PORT_PROPERTY, proxyPort);
                final String proxyUsername = paramMap.get(CRAWLER_WEB_PREFIX + "proxyUsername");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

    import org.codelibs.fess.app.service.WebAuthenticationService;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.es.config.bsentity.BsWebConfig;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig.Param.Client;
    import org.codelibs.fess.helper.SystemHelper;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

    import org.codelibs.fess.app.service.WebAuthenticationService;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.mylasta.direction.FessProp;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            childUrlRuleMap.put("//LINK", "href");
            childUrlRuleMap.put("//SCRIPT", "src");
    
            container = new StandardCrawlerContainer();
            container.<HcHttpClient> prototype("internalHttpClient", HcHttpClient.class, client -> {
                client.setCookieSpec(CookieSpecs.BEST_MATCH);
            }).prototype("httpClient", FaultTolerantClient.class, client -> {
    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