Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.http.response | |
com.amazonaws.protocol.json | |
com.amazonaws.retry | |
com.amazonaws.retry.internal | |
com.amazonaws.waiters | |
utils.http |
Modifier and Type | Method and Description |
---|---|
AmazonServiceException |
DefaultErrorResponseHandler.handle(HttpResponse errorResponse) |
AmazonServiceException |
JsonErrorResponseHandler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
protected HttpResponseHandler<AmazonServiceException> |
AmazonHttpClientClockSkewErrorTest.stubErrorHandler() |
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. |
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext,
RequestConfig requestConfig) |
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 |
---|---|
AmazonServiceException |
NullErrorResponseHandler.handle(HttpResponse response) |
AmazonServiceException |
UnresponsiveErrorResponseHandler.handle(HttpResponse response) |
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 | Field and Description |
---|---|
protected static HttpResponseHandler<AmazonServiceException> |
RetryPolicyTestBase.errorResponseHandler |
Modifier and Type | Method and Description |
---|---|
AmazonServiceException |
RetryPolicyTestBase.TestHttpResponseHandler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
static boolean |
RetryUtils.isClockSkewError(AmazonServiceException exception)
Returns true if the specified exception is definitely a clock skew error.
|
static boolean |
RetryUtils.isRequestEntityTooLargeException(AmazonServiceException exception)
Returns true if the specified exception is a request entity too large error.
|
static boolean |
RetryUtils.isRetryableServiceException(AmazonServiceException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
RetryUtils.isThrottlingException(AmazonServiceException exception)
Returns true if the specified exception is a throttling error.
|
Modifier and Type | Method and Description |
---|---|
AuthRetryParameters |
AuthErrorRetryStrategy.shouldRetryWithAuthParam(Request<?> originalRequest,
HttpResponse response,
AmazonServiceException ase)
Returns an alternative signing context (consists of a new signer instance
and a new request endpoint) that should be used to retry the request.
|
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 |
Waiter.run(WaiterParameters<Input> waiterParameters)
Polls synchronously until it is determined that the resource
transitioned into the desired state or not.
|
void |
WaiterImpl.run(WaiterParameters<Input> waiterParameters)
Polls synchronously 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected HttpResponseHandler<AmazonServiceException> |
WireMockTestBase.stubErrorHandler() |
Copyright © 2019. All rights reserved.