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(HttpRequestExecutor requestExec,
HttpClientConnectionManager connManager,
ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
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,
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) |
InternalHttpClient(ClientExecChain execChain,
HttpClientConnectionManager connManager,
HttpRoutePlanner routePlanner,
Lookup<CookieSpecProvider> cookieSpecRegistry,
Lookup<AuthSchemeProvider> authSchemeRegistry,
CookieStore cookieStore,
CredentialsProvider credentialsProvider,
RequestConfig defaultConfig,
java.util.List<java.io.Closeable> closeables) |
MinimalHttpClient(HttpClientConnectionManager connManager) |
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. |