Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.protocol.json | |
com.amazonaws.retry | |
com.amazonaws.waiters |
Modifier and Type | Method and Description |
---|---|
AmazonServiceException |
DefaultErrorResponseHandler.handle(HttpResponse errorResponse) |
AmazonServiceException |
JsonErrorResponseHandler.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)
Deprecated.
Use
AmazonHttpClient.requestExecutionBuilder() to configure and execute a HTTP 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 |
---|---|
HttpResponseHandler<AmazonServiceException> |
SdkJsonProtocolFactory.createErrorResponseHandler(JsonErrorResponseMetadata errorResponsMetadata)
Creates a response handler for handling a error response (non 2xx response).
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RetryUtils.isClockSkewError(AmazonServiceException exception)
Deprecated.
|
static boolean |
RetryUtils.isRequestEntityTooLargeException(AmazonServiceException exception)
|
static boolean |
RetryUtils.isRetryableServiceException(AmazonServiceException exception)
Deprecated.
|
static boolean |
RetryUtils.isThrottlingException(AmazonServiceException exception)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HttpFailureStatusAcceptor.matches(AmazonServiceException ase) |
boolean |
WaiterAcceptor.matches(AmazonServiceException output)
Default method definition that matches the exception
with the expected state defined by the acceptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WaiterExecution.pollResource()
Polls until a specified resource transitions into either success or failure state or
until the specified number of retries has been made.
|
void |
WaiterImpl.run(WaiterParameters<Input> waiterParameters)
Polls synchronously until it is determined that the resource
transitioned into the desired state or not.
|
void |
Waiter.run(WaiterParameters<Input> waiterParameters)
Polls synchronously until it is determined that the resource
transitioned into the desired state or not.
|
Future<Void> |
WaiterImpl.runAsync(WaiterParameters<Input> waiterParameters,
WaiterHandler callback)
Polls asynchronously until it is determined that the resource
transitioned into the desired state or not.
|
Future<Void> |
Waiter.runAsync(WaiterParameters<Input> waiterParameters,
WaiterHandler callback)
Polls asynchronously until it is determined that the resource
transitioned into the desired state or not.
|
Copyright © 2016. All rights reserved.