RequestPipeline<Pair<SdkHttpFullRequest,HttpResponse>,Pair<SdkHttpFullRequest,HttpResponse>>
public class InstrumentHttpResponseContentStage extends Object implements RequestPipeline<Pair<SdkHttpFullRequest,HttpResponse>,Pair<SdkHttpFullRequest,HttpResponse>>
ProgressListener
.Constructor | Description |
---|---|
InstrumentHttpResponseContentStage() |
Modifier and Type | Method | Description |
---|---|---|
Pair<SdkHttpFullRequest,HttpResponse> |
execute(Pair<SdkHttpFullRequest,HttpResponse> input,
RequestExecutionContext context) |
Execute the pipeline with the given input.
|
public Pair<SdkHttpFullRequest,HttpResponse> execute(Pair<SdkHttpFullRequest,HttpResponse> input, RequestExecutionContext context) throws Exception
RequestPipeline
execute
in interface RequestPipeline<Pair<SdkHttpFullRequest,HttpResponse>,Pair<SdkHttpFullRequest,HttpResponse>>
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.