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 and 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 and Description |
---|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
long sleepTime,
TimeUnit sleepTimeUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
ThreadFactory threadFactory,
long sleepTime,
TimeUnit sleepTimeUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
Modifier and Type | Class and Description |
---|---|
class |
BasicHttpClientConnectionManager
A connection manager for a single connection.
|
class |
PoolingHttpClientConnectionManager
ClientConnectionPoolManager maintains a pool of
HttpClientConnection s and is able to service connection requests
from multiple execution threads. |
Constructor and 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) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.