InputT
- Source type, provided as input param to pipeline.OutputT
- Output type returned by the pipeline.MutableRequestToRequestPipeline
, RequestToRequestPipeline
, RequestToResponsePipeline<OutputT>
AfterCallbackStage
, ApplyTransactionIdStage
, ApplyUserAgentStage
, AsyncRetryableStage
, AttachRequestConfigStage
, BeforeRequestHandlersStage
, BeforeUnmarshallingCallbackStage
, ClientExecutionTimedStage
, ExceptionReportingStage
, HandleResponseStage
, HttpResponseAdaptingStage
, InstrumentHttpResponseContentStage
, MakeAsyncHttpRequestStage
, MakeHttpRequestStage
, MakeRequestImmutable
, MakeRequestMutable
, MergeCustomHeadersStage
, MergeCustomQueryParamsStage
, MoveParametersToBodyStage
, ReportRequestContentLengthStage
, RetryableStage
, SigningStage
, StreamManagingStage
, TimerExceptionHandlingStage
, UnwrapResponseContainer
public interface RequestPipeline<InputT,OutputT>
Modifier and Type | Method | Description |
---|---|---|
OutputT |
execute(InputT input,
RequestExecutionContext context) |
Execute the pipeline with the given input.
|
OutputT execute(InputT input, RequestExecutionContext context) throws Exception
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.wrap(BiFunction)
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.