ResultT - The type of the result.public interface TransformingAsyncResponseHandler<ResultT> extends SdkAsyncHttpResponseHandler
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ResultT> |
prepare()
Return the future holding the transformed response.
|
onError, onHeaders, onStreamCompletableFuture<ResultT> prepare()
This method is guaranteed to be called before the request is executed, and before SdkAsyncHttpResponseHandler.onHeaders(software.amazon.awssdk.http.SdkHttpResponse) is signaled.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.