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 ClientExecChain | |
| private final ServiceUnavailableRetryStrategy |
| Access | Constructor and Description |
|---|---|
| public | ServiceUnavailableRetryExec(final ClientExecChain requestExecutor, final ServiceUnavailableRetryStrategy retryStrategy)
|
| 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 | |
| requestExecutor | back to summary |
|---|---|
| private final ClientExecChain requestExecutor | |
| retryStrategy | back to summary |
|---|---|
| private final ServiceUnavailableRetryStrategy retryStrategy | |
| ServiceUnavailableRetryExec | back to summary |
|---|---|
| public ServiceUnavailableRetryExec(final ClientExecChain requestExecutor, final ServiceUnavailableRetryStrategy retryStrategy) | |
| 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.
| |