@Contract(threading=STATELESS) public class RequestClientConnControl extends Object implements HttpRequestInterceptor
Connection
header to the outgoing requests, which is essential for managing persistence
of HTTP/1.0
connections.Constructor and Description |
---|
RequestClientConnControl() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
EntityDetails entity,
HttpContext context)
Processes a request.
|
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to processentity
- the request entity details or null
if not availablecontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O error