public class SyncChecksumValidationInterceptor extends Object implements ExecutionInterceptor
| Constructor and Description |
|---|
SyncChecksumValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshalling(Context.AfterUnmarshalling context,
ExecutionAttributes executionAttributes)
Read the
SdkResponse as it was returned by the unmarshaller, before it is modified by other interceptors. |
Optional<RequestBody> |
modifyHttpContent(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes) |
Optional<InputStream> |
modifyHttpResponseContent(Context.ModifyHttpResponse context,
ExecutionAttributes executionAttributes)
Modify the
SdkHttpFullRequest before it is unmarshalled into an SdkResponse. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterTransmission, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpRequest, modifyHttpResponse, modifyRequest, modifyResponse, onExecutionFailurepublic Optional<RequestBody> modifyHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
modifyHttpContent in interface ExecutionInterceptorpublic Optional<InputStream> modifyHttpResponseContent(Context.ModifyHttpResponse context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkHttpFullRequest before it is unmarshalled into an SdkResponse.
Note: Unlike many other lifecycle methods, this one may be invoked multiple times. If the RetryPolicy determines
the error code returned by the service is retriable, this will be invoked for each response returned by the service.
modifyHttpResponseContent in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests and the current HTTP response.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used to
give data to future lifecycle methods.public void afterUnmarshalling(Context.AfterUnmarshalling context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkResponse as it was returned by the unmarshaller, before it is modified by other interceptors.
ExecutionInterceptor.afterExecution(software.amazon.awssdk.core.interceptor.Context.AfterExecution, software.amazon.awssdk.core.interceptor.ExecutionAttributes) should be used in most circumstances for reading the SDK response because it includes
modifications made by other interceptors.afterUnmarshalling in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests and the HTTP response.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used to
give data to future lifecycle methods.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.