public class BeforeUnmarshallingExecutionInterceptorsStage extends Object implements RequestPipeline<Pair<SdkHttpFullRequest,HttpResponse>,HttpResponse>
ExecutionInterceptor#beforeUnmarshalling
callback to allow for pre-processing on the HttpResponse
before it is handed off to the unmarshaller.Constructor and Description |
---|
BeforeUnmarshallingExecutionInterceptorsStage() |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
execute(Pair<SdkHttpFullRequest,HttpResponse> input,
RequestExecutionContext context)
Execute the pipeline with the given input.
|
public BeforeUnmarshallingExecutionInterceptorsStage()
public HttpResponse execute(Pair<SdkHttpFullRequest,HttpResponse> input, RequestExecutionContext context) throws Exception
RequestPipeline
execute
in interface RequestPipeline<Pair<SdkHttpFullRequest,HttpResponse>,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.