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) |
Copyright © 2021. All rights reserved.