Class AzureRetryableErrorHandler

java.lang.Object
org.jclouds.http.handlers.BackoffLimitedRetryHandler
org.jclouds.azurecompute.arm.handlers.AzureRetryableErrorHandler
All Implemented Interfaces:
HttpRetryHandler, IOExceptionRetryHandler

@Singleton @Beta public class AzureRetryableErrorHandler extends BackoffLimitedRetryHandler
This handles failed responses that return a RetryableError.

In order to determine if the error is retryable, the response body must be read, so this handler will have to buffer the response payload in memory so the response body can be read again in subsequent steps of the response processing flow.