public final class SyncHttpChecksumInTrailerInterceptor extends Object implements ExecutionInterceptor
1. Checksum is not already calculated. 2. Unsigned payload. 3. Request has streaming payload. 4. If Request has Algorithm checksum mentioned.
| Constructor and Description |
|---|
SyncHttpChecksumInTrailerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Optional<RequestBody> |
modifyHttpContent(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes) |
software.amazon.awssdk.http.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, waitafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailurepublic SyncHttpChecksumInTrailerInterceptor()
public Optional<RequestBody> modifyHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
modifyHttpContent in interface ExecutionInterceptorpublic software.amazon.awssdk.http.SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkHttpFullRequest before it is sent to the service.modifyHttpRequest in interface ExecutionInterceptorcontext - 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.