Package org.apache.http
Interface HttpResponseInterceptor
- All Known Subinterfaces:
HttpProcessor
- All Known Implementing Classes:
BasicHttpProcessor,ResponseConnControl,ResponseContent,ResponseDate,ResponseProcessCookies,ResponseServer
public interface HttpResponseInterceptor
Processes a response.
Provides the ability to process a response before it is sent
to the client or after it has been received on the client side.
- Since:
- 4.0
- Version:
- $Revision: 618367 $
- Author:
- Oleg Kalnichevski
-
Method Summary
Modifier and Type Method Description voidprocess(HttpResponse response, HttpContext context)Processes a response.
-
Method Details
-
process
Processes a response. On the server side, this step is performed before the response is sent to the client. On the client side, this step is performed on incoming messages before the message body is evaluated.- Parameters:
response- the response to postprocesscontext- the context for the request- Throws:
IOException- in case of an IO problemHttpException- in case of a protocol or other problem
-