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) |
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, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
public SyncHttpChecksumInTrailerInterceptor()
public Optional<RequestBody> modifyHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
modifyHttpContent
in interface ExecutionInterceptor
public 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.