Interface RequestPipeline<InputT,OutputT>
- Type Parameters:
InputT- Source type, provided as input param to pipeline.OutputT- Output type returned by the pipeline.
- All Known Subinterfaces:
MutableRequestToRequestPipeline,RequestToRequestPipeline,RequestToResponsePipeline<OutputT>
- All Known Implementing Classes:
AfterExecutionInterceptorsStage,AfterTransmissionExecutionInterceptorsStage,ApiCallAttemptMetricCollectionStage,ApiCallAttemptTimeoutTrackingStage,ApiCallMetricCollectionStage,ApiCallTimeoutTrackingStage,ApplyTransactionIdStage,ApplyUserAgentStage,AsyncApiCallAttemptMetricCollectionStage,AsyncApiCallMetricCollectionStage,AsyncApiCallTimeoutTrackingStage,AsyncBeforeTransmissionExecutionInterceptorsStage,AsyncExecutionFailureExceptionReportingStage,AsyncRetryableStage,AsyncRetryableStage2,AsyncSigningStage,BeforeTransmissionExecutionInterceptorsStage,BeforeUnmarshallingExecutionInterceptorsStage,CompressRequestStage,ExecutionFailureExceptionReportingStage,HandleResponseStage,HttpChecksumStage,MakeAsyncHttpRequestStage,MakeHttpRequestStage,MakeRequestImmutableStage,MakeRequestMutableStage,MergeCustomHeadersStage,MergeCustomQueryParamsStage,QueryParametersToBodyStage,RetryableStage,RetryableStage2,SigningStage,StreamManagingStage,TimeoutExceptionHandlingStage,UnwrapResponseContainer
public interface RequestPipeline<InputT,OutputT>
Represents a series of transformations when executing a SDK request.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(InputT input, RequestExecutionContext context) Execute the pipeline with the given input.
-
Method Details
-
execute
Execute the pipeline with the given input.- Parameters:
input- Input to pipeline.context- Context containing both request dependencies, and a container for any mutable state that must be shared between stages.- Returns:
- Output of pipeline.
- Throws:
Exception- If any error occurs. This will be thrown out of the pipeline, if exceptions must be handled seeRequestPipelineBuilder.wrappedWith(BiFunction).
-