Build 1.0_r1(from source)

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

Method Summary
 void process(HttpResponse response, HttpContext context)
          Processes a response.
 

Method Detail

process

void process(HttpResponse response,
             HttpContext context)
             throws HttpException,
                    IOException
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 postprocess
context - the context for the request
Throws:
IOException - in case of an IO problem
HttpException - in case of a protocol or other problem

Build 1.0_r1(from source)

Please submit a feedback, bug or feature