HttpProcessor.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpRequestInterceptor[] | |
| private final HttpResponseInterceptor[] |
| Access | Constructor and Description |
|---|---|
| public | ImmutableHttpProcessor(final HttpRequestInterceptor[] requestInterceptors, final HttpResponseInterceptor[] responseInterceptors)
|
| public | ImmutableHttpProcessor(final List<HttpRequestInterceptor> requestInterceptors, final List<HttpResponseInterceptor> responseInterceptors)
|
| public | ImmutableHttpProcessor(final HttpRequestInterceptorList requestInterceptors, final HttpResponseInterceptorList responseInterceptors)
Deprecated
(4.3) do not use.
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | process(final HttpRequest
the request to preprocess request, final HttpContext the context for the request context)Implements org. |
| public void | process(final HttpResponse
the response to postprocess response, final HttpContext the context for the request context)Implements org. |
| requestInterceptors | back to summary |
|---|---|
| private final HttpRequestInterceptor[] requestInterceptors | |
| responseInterceptors | back to summary |
|---|---|
| private final HttpResponseInterceptor[] responseInterceptors | |
| ImmutableHttpProcessor | back to summary |
|---|---|
| public ImmutableHttpProcessor(final HttpRequestInterceptor[] requestInterceptors, final HttpResponseInterceptor[] responseInterceptors) | |
| ImmutableHttpProcessor | back to summary |
|---|---|
public ImmutableHttpProcessor(final List<HttpRequestInterceptor> requestInterceptors, final List<HttpResponseInterceptor> responseInterceptors)
| |
| ImmutableHttpProcessor | back to summary |
|---|---|
| public ImmutableHttpProcessor(final HttpRequestInterceptorList requestInterceptors, final HttpResponseInterceptorList responseInterceptors)
Deprecated (4.3) do not use.
| |
| ImmutableHttpProcessor | back to summary |
|---|---|
| public ImmutableHttpProcessor(final HttpRequestInterceptor... requestInterceptors) | |
| ImmutableHttpProcessor | back to summary |
|---|---|
| public ImmutableHttpProcessor(final HttpResponseInterceptor... responseInterceptors) | |
| process | back to summary |
|---|---|
| public void process(final HttpRequest request, final HttpContext context) throws IOException, HttpException Implements org. Doc from org. 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.
| |
| process | back to summary |
|---|---|
| public void process(final HttpResponse response, final HttpContext context) throws IOException, HttpException Implements org. Doc from org. 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.
| |