Package | Description |
---|---|
org.apache.http.impl |
Default implementations for interfaces in
org.apache.http . |
org.apache.http.nio.protocol |
Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
|
org.apache.http.protocol |
HTTP protocol execution framework and synchronous HTTP protocol handlers
based on the blocking I/O model.
|
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 |
---|---|
protected ConnectionReuseStrategy |
NHttpHandlerBase.connStrategy
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConnectionReuseStrategy |
BasicAsyncRequestExecutionHandler.getConnectionReuseStrategy() |
ConnectionReuseStrategy |
HttpAsyncRequestExecutionHandler.getConnectionReuseStrategy()
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. |
Modifier and Type | Method and Description |
---|---|
void |
HttpService.setConnReuseStrategy(ConnectionReuseStrategy connStrategy)
Deprecated.
(4.1) set
ConnectionReuseStrategy using constructor |
Constructor and Description |
---|
HttpService(HttpProcessor proc,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory)
|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpExpectationVerifier expectationVerifier,
HttpParams params)
Create a new HTTP service.
|
HttpService(HttpProcessor processor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpRequestHandlerResolver handlerResolver,
HttpParams params)
Create a new HTTP service.
|
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.