public class AsyncApiCallTimeoutTrackingStage<OutputT> extends Object implements RequestPipeline<software.amazon.awssdk.http.SdkHttpFullRequest,CompletableFuture<OutputT>>
| Constructor and Description |
|---|
AsyncApiCallTimeoutTrackingStage(HttpClientDependencies dependencies,
RequestPipeline<software.amazon.awssdk.http.SdkHttpFullRequest,CompletableFuture<OutputT>> requestPipeline) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<OutputT> |
execute(software.amazon.awssdk.http.SdkHttpFullRequest input,
RequestExecutionContext context)
Execute the pipeline with the given input.
|
public AsyncApiCallTimeoutTrackingStage(HttpClientDependencies dependencies, RequestPipeline<software.amazon.awssdk.http.SdkHttpFullRequest,CompletableFuture<OutputT>> requestPipeline)
public CompletableFuture<OutputT> execute(software.amazon.awssdk.http.SdkHttpFullRequest input, RequestExecutionContext context) throws Exception
RequestPipelineexecute in interface RequestPipeline<software.amazon.awssdk.http.SdkHttpFullRequest,CompletableFuture<OutputT>>input - Input to pipeline.context - Context containing both request dependencies, and a container for any mutable state that must be shared
between stages.Exception - If any error occurs. This will be thrown out of the pipeline, if exceptions must be handled see
RequestPipelineBuilder.wrappedWith(BiFunction).Copyright © 2022. All rights reserved.