public class RestRetryHandler extends Object implements org.apache.http.client.HttpRequestRetryHandler
HttpRequestRetryHandler this retry is used for OAuth2 purposes to refresh the
token before retrying the request once again.| Constructor and Description |
|---|
RestRetryHandler() |
RestRetryHandler(int maxRetries) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
retryRequest(IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context) |
public RestRetryHandler()
public RestRetryHandler(int maxRetries)
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
retryRequest in interface org.apache.http.client.HttpRequestRetryHandlerexception - failureReasonexecutionCount - number of retries executedcontext - HttpContext generated for request