Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for httpClient (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals(".*index\\.html$", httpClient.convertRobotsTxtPatternToRegex("index.html$"));
            assertEquals("/\\..*", httpClient.convertRobotsTxtPatternToRegex("/."));
            assertEquals("/.*", httpClient.convertRobotsTxtPatternToRegex("/*"));
            assertEquals(".*\\..*", httpClient.convertRobotsTxtPatternToRegex("."));
            assertEquals(".*", httpClient.convertRobotsTxtPatternToRegex("*"));
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                }
            }
    
            httpClient = closeableHttpClient;
        }
    
        /**
         * Destroys the HTTP client.
         */
        @PreDestroy
        public void destroy() {
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
                    logger.error("Failed to close httpClient.", e);
                }
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java

     */
    package org.codelibs.fess.opensearch.client;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fesen.client.HttpClient;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. README.md

            StandardCrawlerContainer container = new StandardCrawlerContainer();
            
            // Configure basic components
            container.singleton("crawler", Crawler.class)
                    .singleton("httpClient", HcHttpClient.class)
                    .singleton("fileTransformer", FileTransformer.class);
            
            // Get crawler instance
            Crawler crawler = container.getComponent("crawler");
            
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("Could not shutdown Commons HttpClient.", e);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        public void close() {
            if (httpClient == null) {
                return;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Closing HcHttpClient...");
            }
            if (connectionMonitorTask != null) {
                connectionMonitorTask.cancel();
            }
            if (httpClient != null) {
                try {
                    httpClient.close();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/pom.xml

    			<artifactId>corelib</artifactId>
    			<version>${corelib.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs.fesen.client</groupId>
    			<artifactId>fesen-httpclient</artifactId>
    			<version>${fesen.httpclient.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.lastaflute</groupId>
    			<artifactId>lasta-di</artifactId>
    			<version>${lasta.di.version}</version>
    		</dependency>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. android-test/build.gradle.kts

      testOptions {
        targetSdk = 34
        unitTests.isIncludeAndroidResources = true
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES",
        "META-INF/LICENSE.md",
        "META-INF/LICENSE-notice.md",
        "README.txt",
        "org/bouncycastle/LICENSE"
      )
    }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 3.8K bytes
    - Viewed (2)
  9. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. fess-crawler/pom.xml

    			<artifactId>httpclient</artifactId>
    			<version>${httpcomponents.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpmime</artifactId>
    			<version>${httpcomponents.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpclient-cache</artifactId>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top