Package | Description |
---|---|
org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultConnectionReuseStrategy
Default implementation of a strategy deciding about connection re-use.
|
class |
NoConnectionReuseStrategy
A strategy that never re-uses a connection.
|
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
Assigns
ConnectionReuseStrategy instance. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultClientConnectionReuseStrategy |
Modifier and Type | Field and Description |
---|---|
protected ConnectionReuseStrategy |
DefaultRequestDirector.reuseStrategy
Deprecated.
The connection re-use strategy.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionReuseStrategy |
AbstractHttpClient.createConnectionReuseStrategy()
Deprecated.
|
protected ConnectionReuseStrategy |
SystemDefaultHttpClient.createConnectionReuseStrategy()
Deprecated.
|
ConnectionReuseStrategy |
AbstractHttpClient.getConnectionReuseStrategy()
Deprecated.
|
Constructor and Description |
---|
MainClientExec(HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
MainClientExec(HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
MinimalClientExec(HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
HttpService.setConnReuseStrategy(ConnectionReuseStrategy connStrategy)
Deprecated.
(4.1) set
ConnectionReuseStrategy using constructor |