|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.protocol.ResponseConnControl
public class ResponseConnControl
ResponseConnControl is responsible for adding Connection header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. This interceptor is recommended for
server side protocol processors.
| Constructor Summary | |
|---|---|
ResponseConnControl()
|
|
| Method Summary | |
|---|---|
void |
process(HttpResponse response,
HttpContext context)
Processes a response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseConnControl()
| Method Detail |
|---|
public void process(HttpResponse response,
HttpContext context)
throws HttpException,
java.io.IOException
HttpResponseInterceptor
process in interface HttpResponseInterceptorresponse - the response to postprocesscontext - 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 | |||||||||