public class HttpChecksumInHeaderInterceptor extends Object implements ExecutionInterceptor
Constructor and Description |
---|
HttpChecksumInHeaderInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterMarshalling(Context.AfterMarshalling context,
ExecutionAttributes executionAttributes)
Read the marshalled HTTP request, before it is modified by other interceptors.
|
SdkHttpRequest |
modifyHttpRequest(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes)
Modify the
SdkHttpFullRequest before it is sent to the service. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterExecution, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
public void afterMarshalling(Context.AfterMarshalling context, ExecutionAttributes executionAttributes)
ExecutionInterceptor
ExecutionInterceptor.beforeTransmission(software.amazon.awssdk.core.interceptor.Context.BeforeTransmission, software.amazon.awssdk.core.interceptor.ExecutionAttributes)
should be used
in most circumstances for reading the HTTP request because it includes modifications made by other interceptors.afterMarshalling
in interface ExecutionInterceptor
context
- The current state of the execution, including the SDK and unmodified HTTP request.executionAttributes
- A mutable set of attributes scoped to one specific request/response cycle that can be used topublic SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
ExecutionInterceptor
SdkHttpFullRequest
before it is sent to the service.modifyHttpRequest
in interface ExecutionInterceptor
context
- The current state of the execution, including the SDK and current HTTP request.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 © 2022. All rights reserved.