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
    void process​(HttpResponse response, HttpContext context)
    Processes a response.
  • Method Details

    • 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