Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for HcHttpClient (0.37 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;
    
    /**
     * @author shinsuke
     *
     */
    public class HcHttpClient extends AbstractCrawlerClient {
    
        public static final String CONNECTION_TIMEOUT_PROPERTY = "connectionTimeout";
    
        public static final String SO_TIMEOUT_PROPERTY = "soTimeout";
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.5K 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: Wed Jun 12 15:17:51 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 09:48:04 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 10K 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: Wed Jun 12 13:08:18 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/client.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>
    	<component name="httpClient"
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top