public class AsyncBeforeTransmissionExecutionInterceptorsStage extends Object implements RequestPipeline<CompletableFuture<SdkHttpFullRequest>,CompletableFuture<SdkHttpFullRequest>>
Constructor and Description |
---|
AsyncBeforeTransmissionExecutionInterceptorsStage() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<SdkHttpFullRequest> |
execute(CompletableFuture<SdkHttpFullRequest> input,
RequestExecutionContext context)
Execute the pipeline with the given input.
|
public AsyncBeforeTransmissionExecutionInterceptorsStage()
public CompletableFuture<SdkHttpFullRequest> execute(CompletableFuture<SdkHttpFullRequest> input, RequestExecutionContext context) throws Exception
RequestPipeline
execute
in interface RequestPipeline<CompletableFuture<SdkHttpFullRequest>,CompletableFuture<SdkHttpFullRequest>>
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 © 2021. All rights reserved.