Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.retry |
Modifier and Type | Method and Description |
---|---|
AmazonServiceException |
DefaultErrorResponseHandler.handle(HttpResponse errorResponse) |
AmazonServiceException |
JsonErrorResponseHandler.handle(HttpResponse response) |
AmazonServiceException |
JsonErrorResponseHandlerV2.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Executes the request and returns the result.
|
<T> Response<T> |
AmazonHttpClient.executeWithTimer(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Start and end client execution timer around the execution of the request.
|
Constructor and Description |
---|
DefaultErrorResponseHandler(List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,Node>> unmarshallerList)
Constructs a new DefaultErrorResponseHandler that will handle error
responses from Amazon services using the specified list of unmarshallers.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RetryUtils.isClockSkewError(AmazonServiceException ase)
Returns true if the specified exception is a clock skew error.
|
static boolean |
RetryUtils.isRequestEntityTooLargeException(AmazonServiceException ase)
Returns true if the specified exception is a request entity too large
error.
|
static boolean |
RetryUtils.isRetryableServiceException(AmazonServiceException ase)
Returns true if the specified exception is a retryable service side
exception.
|
static boolean |
RetryUtils.isThrottlingException(AmazonServiceException ase)
Returns true if the specified exception is a throttling error.
|
Copyright © 2016. All rights reserved.