T - the type of the resultpublic final class AsyncAfterTransmissionInterceptorCallingResponseHandler<T> extends Object implements TransformingAsyncResponseHandler<T>
| Constructor and Description |
|---|
AsyncAfterTransmissionInterceptorCallingResponseHandler(TransformingAsyncResponseHandler<T> delegate,
ExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable error) |
void |
onHeaders(SdkHttpResponse response) |
void |
onStream(<any> publisher) |
CompletableFuture<T> |
prepare()
Return the future holding the transformed response.
|
public AsyncAfterTransmissionInterceptorCallingResponseHandler(TransformingAsyncResponseHandler<T> delegate, ExecutionContext context)
public void onHeaders(SdkHttpResponse response)
public void onError(Throwable error)
public void onStream(<any> publisher)
public CompletableFuture<T> prepare()
TransformingAsyncResponseHandler
This method is guaranteed to be called before the request is executed, and before SdkAsyncHttpResponseHandler#onHeaders(software.amazon.awssdk.http.SdkHttpResponse) is signaled.
prepare in interface TransformingAsyncResponseHandler<T>Copyright © 2022. All rights reserved.