public class AWSClientErrorRetryHandler extends Object implements org.jclouds.http.HttpRetryHandler
| Constructor and Description |
|---|
AWSClientErrorRetryHandler(AWSUtils utils,
org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffLimitedRetryHandler,
Set<String> retryableCodes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response) |
protected boolean |
shouldRetryRequestOnError(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
AWSError error) |
public boolean shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
shouldRetryRequest in interface org.jclouds.http.HttpRetryHandlerprotected boolean shouldRetryRequestOnError(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
AWSError error)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.