|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.protocol.RequestConnControl
public class RequestConnControl
RequestConnControl is responsible for adding Connection
header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0
connections. This interceptor is recommended for
client side protocol processors.
Constructor Summary | |
---|---|
RequestConnControl()
|
Method Summary | |
---|---|
void |
process(HttpRequest request,
HttpContext context)
Processes a request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestConnControl()
Method Detail |
---|
public void process(HttpRequest request, HttpContext context) throws HttpException, java.io.IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- the context for the request
HttpException
- in case of an HTTP protocol violation
java.io.IOException
- in case of an I/O error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |