HttpProcessor to populate
requisite HTTP request headers, process HTTP response headers and update
session state in HttpClientContext.
Further responsibilities such as communication with the opposite endpoint is delegated to the next executor in the request execution chain.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpProcessor | |
| private final Log | |
| private final ClientExecChain |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CloseableHttpResponse | execute(final HttpRoute
connection route. route, final HttpRequestWrapper current request. request, final HttpClientContext current HTTP context. context, final HttpExecutionAware receiver of notifications of blocking I/O operations. execAware)Implements org. |
| pack-priv void | rewriteRequestURI(final HttpRequestWrapper request, final HttpRoute route, final boolean normalizeUri)
|
| httpProcessor | back to summary |
|---|---|
| private final HttpProcessor httpProcessor | |
| log | back to summary |
|---|---|
| private final Log log | |
| requestExecutor | back to summary |
|---|---|
| private final ClientExecChain requestExecutor | |
| ProtocolExec | back to summary |
|---|---|
| public ProtocolExec(final ClientExecChain requestExecutor, final HttpProcessor httpProcessor) | |
| execute | back to summary |
|---|---|
| public CloseableHttpResponse execute(final HttpRoute route, final HttpRequestWrapper request, final HttpClientContext context, final HttpExecutionAware execAware) throws IOException, HttpException Implements org. Doc from org. Executes th request either by transmitting it to the target server or by passing it onto the next executor in the request execution chain.
| |
| rewriteRequestURI | back to summary |
|---|---|
| pack-priv void rewriteRequestURI(final HttpRequestWrapper request, final HttpRoute route, final boolean normalizeUri) throws ProtocolException | |