public final class

ImmutableHttpProcessor

extends Object
implements HttpProcessor
java.lang.Object
   ↳ org.apache.http.protocol.ImmutableHttpProcessor

Class Overview

Immutable HttpProcessor.

Summary

Public Constructors
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)
ImmutableHttpProcessor(HttpRequestInterceptorList requestInterceptors, HttpResponseInterceptorList responseInterceptors)
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors)
ImmutableHttpProcessor(HttpResponseInterceptor[] responseInterceptors)
Public Methods
void process(HttpRequest request, HttpContext context)
Processes a request.
void process(HttpResponse response, HttpContext context)
Processes a response.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.HttpRequestInterceptor
From interface org.apache.http.HttpResponseInterceptor

Public Constructors

public ImmutableHttpProcessor (HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)

public ImmutableHttpProcessor (HttpRequestInterceptorList requestInterceptors, HttpResponseInterceptorList responseInterceptors)

public ImmutableHttpProcessor (HttpRequestInterceptor[] requestInterceptors)

public ImmutableHttpProcessor (HttpResponseInterceptor[] responseInterceptors)

Public Methods

public void process (HttpRequest request, HttpContext context)

Processes a request. On the client side, this step is performed before the request is sent to the server. On the server side, this step is performed on incoming messages before the message body is evaluated.

Parameters
request the request to preprocess
context the context for the request

public void process (HttpResponse response, HttpContext context)

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