| Package | Description |
|---|---|
| org.apache.http.impl.client |
Default HTTP client implementation.
|
| org.apache.http.impl.conn |
Default implementations of client connection management
functions.
|
| org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected ClientExecChain |
HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
Produces an instance of
ClientExecChain to be used as a main exec. |
static CloseableHttpClient |
HttpClients.createMinimal(HttpClientConnectionManager connManager) |
Creates
CloseableHttpClient instance that implements
the most basic HTTP protocol support. |
HttpClientBuilder |
HttpClientBuilder.setConnectionManager(HttpClientConnectionManager connManager) |
Assigns
HttpClientConnectionManager instance. |
| Constructor | Description |
|---|---|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
long maxIdleTime,
java.util.concurrent.TimeUnit maxIdleTimeUnit) |
|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
long sleepTime,
java.util.concurrent.TimeUnit sleepTimeUnit,
long maxIdleTime,
java.util.concurrent.TimeUnit maxIdleTimeUnit) |
|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
java.util.concurrent.ThreadFactory threadFactory,
long sleepTime,
java.util.concurrent.TimeUnit sleepTimeUnit,
long maxIdleTime,
java.util.concurrent.TimeUnit maxIdleTimeUnit) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BasicHttpClientConnectionManager |
A connection manager for a single connection.
|
class |
PoolingHttpClientConnectionManager |
ClientConnectionPoolManager maintains a pool of
HttpClientConnections and is able to service connection requests
from multiple execution threads. |
| Constructor | Description |
|---|---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
|
MinimalClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy) |