public final class EnableTrailingChecksumInterceptor extends Object implements ExecutionInterceptor
| Constructor and Description |
|---|
EnableTrailingChecksumInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
SdkHttpRequest |
modifyHttpRequest(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes)
Append trailing checksum header for
GetObjectRequest if trailing checksum is enabled from config,
ChecksumMode is disabled, and is not S3Express. |
SdkRequest |
modifyRequest(Context.ModifyRequest context,
ExecutionAttributes executionAttributes)
Enable
ChecksumMode for GetObjectRequest if trailing checksum is enabled from config,
ChecksumMode is disabled, and is S3Express. |
SdkResponse |
modifyResponse(Context.ModifyResponse context,
ExecutionAttributes executionAttributes)
Subtract the contentLength of
GetObjectResponse if trailing checksums is enabled. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, onExecutionFailurepublic SdkRequest modifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes)
ChecksumMode for GetObjectRequest if trailing checksum is enabled from config,
ChecksumMode is disabled, and is S3Express.
TODO (s3express) - refactor to migrate out s3express specific codemodifyRequest in interface ExecutionInterceptorcontext - The current state of the execution, including the current SDK request from the service client call.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 SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
GetObjectRequest if trailing checksum is enabled from config,
ChecksumMode is disabled, and is not S3Express.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.public SdkResponse modifyResponse(Context.ModifyResponse context, ExecutionAttributes executionAttributes)
GetObjectResponse if trailing checksums is enabled.modifyResponse in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests as well as the SDK and 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 © 2026. All rights reserved.