Package | Description |
---|---|
com.amazonaws.http | |
com.amazonaws.protocol.json |
Modifier and Type | Class and Description |
---|---|
class |
DefaultErrorResponseHandler
Implementation of HttpResponseHandler that handles only error responses from
Amazon Web Services.
|
class |
JsonErrorResponseHandler |
class |
JsonResponseHandler<T>
Default implementation of HttpResponseHandler that handles a successful response from an AWS
service and unmarshalls the result using a JSON unmarshaller.
|
class |
StaxResponseHandler<T>
Default implementation of HttpResponseHandler that handles a successful
response from an AWS service and unmarshalls the result using a StAX
unmarshaller.
|
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.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.
|
<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.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseHandler<AmazonServiceException> |
SdkJsonProtocolFactory.createErrorResponseHandler(JsonErrorResponseMetadata errorResponsMetadata)
Returns the error response handler for handling a error response.
|
<T> HttpResponseHandler<AmazonWebServiceResponse<T>> |
SdkJsonProtocolFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.JsonUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successfull response.
|
Copyright © 2016. All rights reserved.