|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.protocol.ImmutableHttpProcessor
@Contract(threading=IMMUTABLE_CONDITIONAL) public final class ImmutableHttpProcessor
Immutable HttpProcessor
.
Constructor Summary | |
---|---|
ImmutableHttpProcessor(HttpRequestInterceptor... requestInterceptors)
|
|
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors,
HttpResponseInterceptor[] responseInterceptors)
|
|
ImmutableHttpProcessor(HttpRequestInterceptorList requestInterceptors,
HttpResponseInterceptorList responseInterceptors)
Deprecated. (4.3) do not use. |
|
ImmutableHttpProcessor(HttpResponseInterceptor... responseInterceptors)
|
|
ImmutableHttpProcessor(List<HttpRequestInterceptor> requestInterceptors,
List<HttpResponseInterceptor> responseInterceptors)
|
Method Summary | |
---|---|
void |
process(HttpRequest request,
HttpContext context)
Processes a request. |
void |
process(HttpResponse response,
HttpContext context)
Processes a response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)
public ImmutableHttpProcessor(List<HttpRequestInterceptor> requestInterceptors, List<HttpResponseInterceptor> responseInterceptors)
@Deprecated public ImmutableHttpProcessor(HttpRequestInterceptorList requestInterceptors, HttpResponseInterceptorList responseInterceptors)
public ImmutableHttpProcessor(HttpRequestInterceptor... requestInterceptors)
public ImmutableHttpProcessor(HttpResponseInterceptor... responseInterceptors)
Method Detail |
---|
public void process(HttpRequest request, HttpContext context) throws IOException, HttpException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- the context for the request
IOException
- in case of an I/O error
HttpException
- in case of an HTTP protocol violationpublic void process(HttpResponse response, HttpContext context) throws IOException, HttpException
HttpResponseInterceptor
process
in interface HttpResponseInterceptor
response
- the response to postprocesscontext
- the context for the request
IOException
- in case of an I/O error
HttpException
- in case of an HTTP protocol violation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |