| Modifier and Type | Method and Description |
|---|---|
EventStreamAsyncResponseTransformer.Builder<ResponseT,EventT> |
EventStreamAsyncResponseTransformer.Builder.eventResponseHandler(HttpResponseHandler<? extends EventT> eventResponseHandler) |
EventStreamAsyncResponseTransformer.Builder<ResponseT,EventT> |
EventStreamAsyncResponseTransformer.Builder.exceptionResponseHandler(HttpResponseHandler<? extends Throwable> exceptionResponseHandler) |
EventStreamAsyncResponseTransformer.Builder<ResponseT,EventT> |
EventStreamAsyncResponseTransformer.Builder.initialResponseHandler(HttpResponseHandler<? extends ResponseT> initialResponseHandler) |
| Modifier and Type | Class and Description |
|---|---|
class |
AttachHttpMetadataResponseHandler<T extends SdkResponse>
Decorate
HttpResponseHandler to attach SdkHttpResponse to the response object. |
| Modifier and Type | Method and Description |
|---|---|
HttpResponseHandler<Response<OutputT>> |
ClientExecutionParams.getCombinedResponseHandler()
Non-streaming requests can use handlers that handle both error and success as a single handler instead of
submitting individual success and error handlers.
|
HttpResponseHandler<? extends SdkException> |
ClientExecutionParams.getErrorResponseHandler() |
HttpResponseHandler<OutputT> |
ClientExecutionParams.getResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
ClientExecutionParams<InputT,OutputT> |
ClientExecutionParams.withCombinedResponseHandler(HttpResponseHandler<Response<OutputT>> combinedResponseHandler) |
ClientExecutionParams<InputT,OutputT> |
ClientExecutionParams.withErrorResponseHandler(HttpResponseHandler<? extends SdkException> errorResponseHandler) |
ClientExecutionParams<InputT,OutputT> |
ClientExecutionParams.withResponseHandler(HttpResponseHandler<OutputT> responseHandler) |
| Constructor and Description |
|---|
AttachHttpMetadataResponseHandler(HttpResponseHandler<T> delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
MetricCollectingHttpResponseHandler<T>
An implementation of
HttpResponseHandler that publishes the time it took to execute { |
| Modifier and Type | Field and Description |
|---|---|
HttpResponseHandler<T> |
MetricCollectingHttpResponseHandler.delegateToTime |
| Modifier and Type | Method and Description |
|---|---|
static <T> MetricCollectingHttpResponseHandler<T> |
MetricCollectingHttpResponseHandler.create(SdkMetric<? super Duration> durationMetric,
HttpResponseHandler<T> delegateToTime) |
| Modifier and Type | Class and Description |
|---|---|
class |
CombinedResponseHandler<OutputT>
Unmarshalls an HTTP response into either a successful response POJO, or into a (possibly modeled) exception based
on the status code of the HTTP response.
|
| Modifier and Type | Method and Description |
|---|---|
<OutputT> OutputT |
AmazonSyncHttpClient.RequestExecutionBuilder.execute(HttpResponseHandler<Response<OutputT>> combinedResponseHandler)
Executes the request with the given configuration.
|
| Constructor and Description |
|---|
CombinedResponseHandler(HttpResponseHandler<OutputT> successResponseHandler,
HttpResponseHandler<? extends SdkException> errorResponseHandler) |
CombinedResponseHandler(HttpResponseHandler<OutputT> successResponseHandler,
HttpResponseHandler<? extends SdkException> errorResponseHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncStreamingResponseHandler.responseHandler(HttpResponseHandler<OutputT> responseHandler) |
| Constructor and Description |
|---|
AsyncResponseHandler(HttpResponseHandler<T> responseHandler,
Function<SdkHttpFullResponse,SdkHttpFullResponse> crc32Validator,
ExecutionAttributes executionAttributes) |
| Constructor and Description |
|---|
HandleResponseStage(HttpResponseHandler<Response<OutputT>> responseHandler) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponseHandler<AwsServiceException> |
BaseAwsJsonProtocolFactory.createErrorResponseHandler(JsonOperationMetadata errorResponseMetadata)
Deprecated.
Users should favor using
BaseAwsJsonProtocolFactory.createErrorResponseHandler(JsonOperationMetadata, Function), which allows the creation
of an error unmarshaller that uses a mapping function to map from error code to the associated ExceptionMetadata. |
HttpResponseHandler<AwsServiceException> |
BaseAwsJsonProtocolFactory.createErrorResponseHandler(JsonOperationMetadata errorResponseMetadata,
Function<String,Optional<ExceptionMetadata>> exceptionMetadataSupplier) |
<T extends SdkPojo> |
BaseAwsJsonProtocolFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
Function<SdkHttpFullResponse,SdkPojo> pojoSupplier)
Creates a new response handler with the given
JsonOperationMetadata and a supplier of the POJO response
type. |
<T extends SdkPojo> |
BaseAwsJsonProtocolFactory.createResponseHandler(JsonOperationMetadata operationMetadata,
Supplier<SdkPojo> pojoSupplier)
Creates a new response handler with the given
JsonOperationMetadata and a supplier of the POJO response
type. |
| Modifier and Type | Class and Description |
|---|---|
class |
AwsJsonProtocolErrorUnmarshaller
Unmarshaller for AWS specific error responses.
|
class |
AwsJsonResponseHandler<T> |
class |
JsonResponseHandler<T extends SdkPojo>
Default implementation of HttpResponseHandler that handles a successful response from a
service and unmarshalls the result using a JSON unmarshaller.
|
| Constructor and Description |
|---|
AwsJsonResponseHandler(HttpResponseHandler<T> responseHandler) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponseHandler<AwsServiceException> |
AwsQueryProtocolFactory.createErrorResponseHandler() |
<T extends AwsResponse> |
AwsQueryProtocolFactory.createResponseHandler(Supplier<SdkPojo> pojoSupplier)
Creates the success response handler to unmarshall the response into a POJO.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AwsQueryResponseHandler<T extends AwsResponse>
Response handler for AWS/Query services and Amazon EC2 which is a dialect of the Query protocol.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AwsXmlErrorProtocolUnmarshaller
Error unmarshaller for Query/EC2/XML based protocols.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends AwsResponse> |
AwsXmlProtocolFactory.createCombinedResponseHandler(Supplier<SdkPojo> pojoSupplier,
XmlOperationMetadata staxOperationMetadata) |
<T extends AwsResponse> |
AwsS3ProtocolFactory.createCombinedResponseHandler(Supplier<SdkPojo> pojoSupplier,
XmlOperationMetadata staxOperationMetadata) |
HttpResponseHandler<AwsServiceException> |
AwsXmlProtocolFactory.createErrorResponseHandler() |
<T extends SdkPojo> |
AwsXmlProtocolFactory.createResponseHandler(Function<SdkHttpFullResponse,SdkPojo> pojoSupplier,
XmlOperationMetadata staxOperationMetadata) |
<T extends SdkPojo> |
AwsXmlProtocolFactory.createResponseHandler(Supplier<SdkPojo> pojoSupplier,
XmlOperationMetadata staxOperationMetadata) |
| Modifier and Type | Class and Description |
|---|---|
class |
AwsXmlPredicatedResponseHandler<OutputT>
Unmarshalls an HTTP response into either a successful response POJO, or into a (possibly modeled) exception based
on a predicate that the unmarshalled response can be tested against.
|
class |
AwsXmlResponseHandler<T>
Response handler that adds
AwsResponseMetadata to the response. |
class |
XmlResponseHandler<T extends SdkPojo>
Response handler for REST-XML services (Cloudfront, Route53, and S3).
|
| Constructor and Description |
|---|
AwsXmlResponseHandler(HttpResponseHandler<T> responseHandler) |
Copyright © 2026. All rights reserved.