org.jclouds.atmos.handlers
Class AtmosClientErrorRetryHandler
java.lang.Object
org.jclouds.atmos.handlers.AtmosClientErrorRetryHandler
- All Implemented Interfaces:
- org.jclouds.http.HttpRetryHandler
public class AtmosClientErrorRetryHandler
- extends Object
- implements org.jclouds.http.HttpRetryHandler
Handles Retryable responses with error codes in the 4xx range
- Author:
- Adrian Cole
|
Field Summary |
protected org.jclouds.logging.Logger |
logger
|
| Fields inherited from interface org.jclouds.http.HttpRetryHandler |
ALWAYS_RETRY, NEVER_RETRY |
|
Method Summary |
boolean |
shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.jclouds.logging.Logger logger
AtmosClientErrorRetryHandler
@Inject
public AtmosClientErrorRetryHandler(org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffHandler,
AtmosUtils utils)
shouldRetryRequest
public boolean shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
- Specified by:
shouldRetryRequest in interface org.jclouds.http.HttpRetryHandler
Copyright © 2009-2011 jclouds. All Rights Reserved.