org.apache.http
Interface HttpResponseInterceptor
- All Known Subinterfaces:
- HttpProcessor
- All Known Implementing Classes:
- BasicHttpProcessor, ResponseConnControl, ResponseContent, ResponseDate, 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: 496070 $
- Author:
- Oleg Kalnichevski
process
public void process(HttpResponse response,
HttpContext context)
throws HttpException,
java.io.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 postprocesscontext
- the context for the request
- Throws:
java.io.IOException
- in case of an IO problem
HttpException
- in case of a protocol or other problem
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.