public class RetryOnRenew extends Object implements HttpRetryHandler
| Modifier and Type | Field and Description |
|---|---|
protected Logger |
logger |
ALWAYS_RETRY, NEVER_RETRY| Modifier | Constructor and Description |
|---|---|
protected |
RetryOnRenew(com.google.common.cache.LoadingCache<Credentials,AuthenticationResponse> authenticationResponseCache) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRetryRequest(HttpCommand command,
HttpResponse response)
Return true if the command should be retried.
|
protected Logger logger
@Inject protected RetryOnRenew(com.google.common.cache.LoadingCache<Credentials,AuthenticationResponse> authenticationResponseCache)
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
HttpRetryHandlershouldRetryRequest in interface HttpRetryHandlerCopyright © 2009-2013 jclouds. All Rights Reserved.