| Modifier and Type | Method and Description |
|---|---|
| public default TimeValue | Returns: the retry interval between subsequent retriesthe request failed due to an I/O exception request, IOException the exception that occurred exception, int the number of times this method has been
unsuccessfully executed execCount, HttpContext the context for the request execution context)Determines the retry interval between subsequent retries. |
| public TimeValue | Returns: the retry interval between subsequent retriesthe response from the target server response, int the number of times this method has been
unsuccessfully executed execCount, HttpContext the context for the request execution context)Determines the retry interval between subsequent retries. |
| public boolean | Returns: true if the request should be retried, false
otherwisethe request failed due to an I/O exception request, IOException the exception that occurred exception, int the number of times this method has been
unsuccessfully executed execCount, HttpContext the context for the request execution context)Determines if a method should be retried after an I/O exception occurred during execution. |
| public boolean | Returns: true if the request should be retried, false
otherwisethe response from the target server response, int the number of times this method has been
unsuccessfully executed execCount, HttpContext the context for the request execution context)Determines if a method should be retried given the response from the target server. |
| getRetryInterval | back to summary |
|---|---|
| public default TimeValue getRetryInterval(HttpRequest request, IOException exception, int execCount, HttpContext context) Determines the retry interval between subsequent retries.
| |
| getRetryInterval | back to summary |
|---|---|
| public TimeValue getRetryInterval(HttpResponse response, int execCount, HttpContext context) Determines the retry interval between subsequent retries.
| |
| retryRequest | back to summary |
|---|---|
| public boolean retryRequest(HttpRequest request, IOException exception, int execCount, HttpContext context) Determines if a method should be retried after an I/O exception occurred during execution.
| |
| retryRequest | back to summary |
|---|---|
| public boolean retryRequest(HttpResponse response, int execCount, HttpContext context) Determines if a method should be retried given the response from the target server.
| |