- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for httpcomponents (0.07 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/SwitchableHttpClient.java
* SwitchableHttpClient is a switchable HTTP client that can use either Apache HttpComponents 4.x or 5.x. * The client implementation is selected based on the system property {@code fess.crawler.http.client}. * * <p>Supported values:</p> * <ul> * <li>{@code hc4} - Use Apache HttpComponents 4.x ({@link Hc4HttpClient})</li> * <li>{@code hc5} or not set - Use Apache HttpComponents 5.x ({@link Hc5HttpClient}) - default</li> * </ul> *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) -
CLAUDE.md
### HTTP Client Architecture ``` SwitchableHttpClient (extends FaultTolerantClient) ├── Hc5HttpClient (default) - Apache HttpComponents 5.x └── Hc4HttpClient (fallback) - Apache HttpComponents 4.x HcHttpClient (abstract base class) ├── Hc4HttpClient └── Hc5HttpClient ``` Switch via system property: `-Dfess.crawler.http.client=hc4` or `hc5` (default)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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpStatusCodes.kt
*/ package okhttp3.internal.http // HTTP Status Codes not offered by HttpUrlConnection. // // https://datatracker.ietf.org/doc/html/rfc7231#page-47 // // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java /** `100 Continue` (HTTP/1.1 - RFC 7231) */ const val HTTP_CONTINUE = 100 /** `101 Switching Protocols` (HTTP/1.1 - RFC 9110) */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
*/ package org.codelibs.fess.crawler.client.http; import org.codelibs.fess.crawler.client.AbstractCrawlerClient; /** * 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>
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) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
import org.apache.hc.core5.http.io.entity.EntityUtils import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html * * Baseline test if we ned to validate OkHttp behaviour against other popular clients. */ class ApacheHttpClientTest { private val httpClient = HttpClients.createDefault()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 20:23:14 GMT 2026 - 2.3K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
import org.junit.After import org.junit.Assert.assertEquals import org.junit.Ignore import org.junit.Test import org.junit.runner.RunWith /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html */ @Ignore("Failing with Netty errors") @RunWith(AndroidJUnit4::class) class ApacheHttpClientTest { private var httpClient = HttpClients.createDefault() @After fun tearDown() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 1.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4ConnectionMonitorTarget.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.timer.TimeoutTarget; /** * Hc4ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections * for Apache HttpComponents 4.x. It implements the TimeoutTarget interface to handle connection * expiration events. * * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 3.3K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
import org.apache.hc.core5.http.ProtocolVersion import org.junit.Assert import org.junit.Ignore import org.junit.Test /** * Simplified from * https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java * * Mainly intended to verify behaviour of popular clients across Android versions, similar * to observing Firefox or Chrome browser behaviour. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 2.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5ConnectionMonitorTarget.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.timer.TimeoutTarget; /** * Hc5ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections * for Apache HttpComponents 5.x. It implements the TimeoutTarget interface to handle connection * expiration events. * * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 3.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4Authentication.java
package org.codelibs.fess.crawler.client.http; 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>
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)