Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for HC5 (0.01 seconds)

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

        public static final String HC4_CLIENT = "hc4";
    
        /** Value for HC5 client selection. */
        public static final String HC5_CLIENT = "hc5";
    
        /** The HC4 HTTP client instance. */
        protected CrawlerClient hc4Client;
    
        /** The HC5 HTTP client instance. */
        protected CrawlerClient hc5Client;
    
        /** Flag indicating which client is selected (true = hc5, false = hc4). */
        private boolean useHc5 = true;
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

            if (value == null) {
                return new Hc5Authentication[0];
            }
    
            // If already HC5 Hc5Authentication[], return directly
            if (value instanceof Hc5Authentication[]) {
                return (Hc5Authentication[]) value;
            }
    
            // If common POJO config, convert to HC5
            if (value instanceof WebAuthenticationConfig[]) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5Authentication.java

    import org.apache.hc.client5.http.auth.AuthScheme;
    import org.apache.hc.client5.http.auth.AuthScope;
    import org.apache.hc.client5.http.auth.Credentials;
    
    /**
     * Authentication class for Apache HttpComponents 5.x (HC5).
     * This class provides methods to handle authentication details such as
     * authentication scope, credentials, and authentication scheme.
     *
     * <p>
     * It includes constructors to initialize these details and getter and setter
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java

     */
    package org.codelibs.fess.crawler.client.http.config;
    
    import java.util.Date;
    
    /**
     * POJO configuration for HTTP cookies that can be converted to
     * either HC4 Cookie or HC5 Cookie.
     *
     * <p>This class provides a library-independent way to configure
     * cookies that work with both Apache HttpComponents 4.x
     * and 5.x clients.</p>
     *
     * <p>Example usage:</p>
     * <pre>{@code
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. 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" />
    
    	<!-- HC5 (Default) -->
    	<component name="internalHttpClient" class="org.codelibs.fess.crawler.client.http.Hc5HttpClient"
    		instance="prototype">
    		<property name="connectionTimeout">15000</property>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CredentialsConfig.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.config;
    
    /**
     * POJO configuration for credentials that can be converted to
     * either HC4 Credentials or HC5 Credentials.
     *
     * <p>This class provides a library-independent way to configure
     * authentication credentials that work with both Apache HttpComponents 4.x
     * and 5.x clients.</p>
     *
     * <p>Example usage:</p>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

    /**
     * HcHttpClient is the abstract base class for HTTP client implementations
     * using Apache HttpComponents. This class provides common constants and
     * configurations shared between HC4 and HC5 implementations.
     *
     * <p>Key properties and configurations:</p>
     * <ul>
     *   <li>CONNECTION_TIMEOUT_PROPERTY: Connection timeout setting.</li>
     *   <li>SO_TIMEOUT_PROPERTY: Socket timeout setting.</li>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

     */
    package org.codelibs.fess.crawler.client.http.config;
    
    import java.util.Map;
    
    /**
     * POJO configuration for web authentication that can be converted to
     * either HC4 Hc4Authentication or HC5 Hc5Authentication.
     *
     * <p>This class provides a library-independent way to configure
     * HTTP authentication that works with both Apache HttpComponents 4.x
     * and 5.x clients.</p>
     *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. CLAUDE.md

        └── Hc4HttpClient (fallback) - Apache HttpComponents 4.x
    
    HcHttpClient (abstract base class)
        ├── Hc4HttpClient
        └── Hc5HttpClient
    ```
    
    Switch via system property: `-Dfess.crawler.http.client=hc4` or `hc5` (default)
    
    **Key Properties**: `connectionTimeout`, `soTimeout`, `proxyHost`, `proxyPort`, `userAgent`, `robotsTxtEnabled`, `ignoreSslCertificate`, `maxTotalConnection`, `defaultMaxConnectionPerRoute`
    
    ### CrawlerClientFactory
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top