HttpProcessor.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpRequestInterceptor[] | |
| private final HttpResponseInterceptor[] |
| Access | Constructor and Description |
|---|---|
| public | DefaultHttpProcessor(final HttpRequestInterceptor[] requestInterceptors, final HttpResponseInterceptor[] responseInterceptors)
|
| public | DefaultHttpProcessor(final List<HttpRequestInterceptor> requestInterceptors, final List<HttpResponseInterceptor> responseInterceptors)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | process(final HttpRequest
the request to process request, final EntityDetails the request entity details or entity, final HttpContext null if not availablethe context for the request context)Implements org. |
| public void | process(final HttpResponse
the response to process response, final EntityDetails the request entity details or entity, final HttpContext null if not availablethe context for the request context)Implements org. |
| requestInterceptors | back to summary |
|---|---|
| private final HttpRequestInterceptor[] requestInterceptors | |
| responseInterceptors | back to summary |
|---|---|
| private final HttpResponseInterceptor[] responseInterceptors | |
| DefaultHttpProcessor | back to summary |
|---|---|
| public DefaultHttpProcessor(final HttpRequestInterceptor[] requestInterceptors, final HttpResponseInterceptor[] responseInterceptors) | |
| DefaultHttpProcessor | back to summary |
|---|---|
public DefaultHttpProcessor(final List<HttpRequestInterceptor> requestInterceptors, final List<HttpResponseInterceptor> responseInterceptors)
| |
| DefaultHttpProcessor | back to summary |
|---|---|
| public DefaultHttpProcessor(final HttpRequestInterceptor... requestInterceptors) | |
| DefaultHttpProcessor | back to summary |
|---|---|
| public DefaultHttpProcessor(final HttpResponseInterceptor... responseInterceptors) | |
| process | back to summary |
|---|---|
| public void process(final HttpRequest request, final EntityDetails entity, 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 EntityDetails entity, 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.
| |