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.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
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 | Field and Description |
---|---|
private ConnectionReuseStrategy |
ServerBootstrap.connStrategy |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
Assigns
ConnectionReuseStrategy instance. |
Modifier and Type | Field and Description |
---|---|
private ConnectionReuseStrategy |
ServerBootstrap.connStrategy |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
Assigns
ConnectionReuseStrategy instance. |
Modifier and Type | Field and Description |
---|---|
private ConnectionReuseStrategy |
HttpAsyncService.connectionStrategy |
private ConnectionReuseStrategy |
HttpAsyncRequester.connReuseStrategy |
private ConnectionReuseStrategy |
PipeliningClientExchangeHandler.connReuseStrategy |
private ConnectionReuseStrategy |
BasicAsyncClientExchangeHandler.connReuseStrategy |
protected ConnectionReuseStrategy |
NHttpHandlerBase.connStrategy
Deprecated.
|
private ConnectionReuseStrategy |
BasicAsyncRequestExecutionHandler.reuseStrategy
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConnectionReuseStrategy |
BasicAsyncRequestExecutionHandler.getConnectionReuseStrategy()
Deprecated.
|
ConnectionReuseStrategy |
HttpAsyncRequestExecutionHandler.getConnectionReuseStrategy()
Deprecated.
Returns
ConnectionReuseStrategy implementation to be used
to determine whether or not the underlying connection can be kept alive
after a particular HTTP request / response exchange. |
ConnectionReuseStrategy |
HttpAsyncService.getConnectionStrategy()
Gets the ConnectionReuseStrategy for this service.
|
Modifier and Type | Field and Description |
---|---|
private ConnectionReuseStrategy |
HttpService.connStrategy |
Modifier and Type | Method and Description |
---|---|
void |
HttpService.setConnReuseStrategy(ConnectionReuseStrategy connStrategy)
Deprecated.
(4.1) set
ConnectionReuseStrategy using constructor |