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. |
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, modifyRequest, onExecutionFailurepublic SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
GetObjectRequest if trailing checksum is enabled from config.modifyHttpRequest in interface ExecutionInterceptorpublic SdkResponse modifyResponse(Context.ModifyResponse context, ExecutionAttributes executionAttributes)
GetObjectResponse if trailing checksums is enabled.modifyResponse in interface ExecutionInterceptorCopyright © 2023. All rights reserved.