Class AsyncResponseHandler<T>

java.lang.Object
software.amazon.awssdk.core.internal.http.async.AsyncResponseHandler<T>
Type Parameters:
T - Type that the response handler produces.
All Implemented Interfaces:
TransformingAsyncResponseHandler<T>, SdkAsyncHttpResponseHandler

public final class AsyncResponseHandler<T> extends Object implements TransformingAsyncResponseHandler<T>
Response handler for asynchronous non-streaming operations.

Adapts an HttpResponseHandler to the asynchronous TransformingAsyncResponseHandler. Buffers all content into a ByteArrayInputStream then invokes the HttpResponseHandler.handle(software.amazon.awssdk.http.SdkHttpFullResponse, software.amazon.awssdk.core.interceptor.ExecutionAttributes) method.