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 Log | |
| private final RedirectStrategy | |
| private final ClientExecChain | |
| private final HttpRoutePlanner |
| Access | Constructor and Description |
|---|---|
| public | RedirectExec(final ClientExecChain requestExecutor, final HttpRoutePlanner routePlanner, final RedirectStrategy redirectStrategy)
|
| 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. |
| log | back to summary |
|---|---|
| private final Log log | |
| redirectStrategy | back to summary |
|---|---|
| private final RedirectStrategy redirectStrategy | |
| requestExecutor | back to summary |
|---|---|
| private final ClientExecChain requestExecutor | |
| routePlanner | back to summary |
|---|---|
| private final HttpRoutePlanner routePlanner | |
| RedirectExec | back to summary |
|---|---|
| public RedirectExec(final ClientExecChain requestExecutor, final HttpRoutePlanner routePlanner, final RedirectStrategy redirectStrategy) | |
| 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.
| |