public class AWSClientErrorRetryHandler extends Object implements HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY
Constructor and Description |
---|
AWSClientErrorRetryHandler(AWSUtils utils,
BackoffLimitedRetryHandler backoffLimitedRetryHandler) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetryRequest(HttpCommand command,
HttpResponse response)
Return true if the command should be retried.
|
@Inject public AWSClientErrorRetryHandler(AWSUtils utils, BackoffLimitedRetryHandler backoffLimitedRetryHandler)
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
HttpRetryHandler
shouldRetryRequest
in interface HttpRetryHandler
Copyright © 2009-2012 jclouds. All Rights Reserved.