Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for hc4 (0.01 seconds)

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

            }
        }
    
        /**
         * Sets the HC4 HTTP client instance.
         *
         * @param hc4Client the HC4 HTTP client
         */
        public void setHc4Client(final CrawlerClient hc4Client) {
            this.hc4Client = hc4Client;
        }
    
        /**
         * Gets the HC4 HTTP client instance.
         *
         * @return the HC4 HTTP client
         */
        public CrawlerClient getHc4Client() {
            return hc4Client;
    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/Hc4Authentication.java

    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    
    /**
     * Authentication class for Apache HttpComponents 4.x (HC4).
     * 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.7K bytes
    - Click Count (0)
  3. 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)
  4. fess-crawler-lasta/src/main/resources/crawler/client.xml

    		instance="prototype">
    		<property name="connectionTimeout">15000</property>
    		<property name="soTimeout">30000</property>
    	</component>
    
    	<!-- HC4 (Alternative - for backward compatibility) -->
    	<component name="internalHc4HttpClient" class="org.codelibs.fess.crawler.client.http.Hc4HttpClient"
    		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)
  5. 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)
  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>
     *
    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/Hc5HttpClient.java

                    config.getPassword() != null ? config.getPassword().toCharArray() : null);
        }
    
        /**
         * Converts HC4 Hc4Authentication array to HC5 Hc5Authentication array.
         * This provides backward compatibility for existing configurations.
         *
         * @param hc4Auths the HC4 authentication array
         * @return the HC5 authentication array
         */
    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)
  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`
    
    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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

            if (value == null) {
                return new Hc4Authentication[0];
            }
    
            // If already HC4 Hc4Authentication[], return directly
            if (value instanceof Hc4Authentication[]) {
                return (Hc4Authentication[]) value;
            }
    
            // If common POJO config, convert to HC4
            if (value instanceof WebAuthenticationConfig[]) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
Back to Top