@Contract(threading=IMMUTABLE)
public class RequestClientConnControl
extends java.lang.Object
implements org.apache.http.HttpRequestInterceptor
Connection
or Proxy-Connection
headers to the outgoing requests, which
is essential for managing persistence of HTTP/1.0
connections.Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log |
private static java.lang.String |
PROXY_CONN_DIRECTIVE |
Constructor and Description |
---|
RequestClientConnControl() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
private final org.apache.commons.logging.Log log
private static final java.lang.String PROXY_CONN_DIRECTIVE
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
java.io.IOException