Class LegacyMd5ExecutionInterceptor
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.handlers.LegacyMd5ExecutionInterceptor
-
- All Implemented Interfaces:
ExecutionInterceptor
@SdkInternalApi public class LegacyMd5ExecutionInterceptor extends Object implements ExecutionInterceptor
Not directly used in the SDK; it's used in a standalone SDK plugin -LegacyMd5Pluginthat enables md5 checksum calculation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringHTTP_CHECKSUM_HEADER_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LegacyMd5ExecutionInterceptorcreate()static ChecksumSpecsgetResolvedChecksumSpecs(ExecutionAttributes executionAttributes)static booleanisMd5ChecksumRequired(ExecutionAttributes executionAttributes)SdkHttpRequestmodifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)static ChecksumSpecsresolveChecksumSpecs(ExecutionAttributes executionAttributes)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
-
-
-
Field Detail
-
HTTP_CHECKSUM_HEADER_PREFIX
public static final String HTTP_CHECKSUM_HEADER_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static LegacyMd5ExecutionInterceptor create()
-
isMd5ChecksumRequired
public static boolean isMd5ChecksumRequired(ExecutionAttributes executionAttributes)
-
getResolvedChecksumSpecs
public static ChecksumSpecs getResolvedChecksumSpecs(ExecutionAttributes executionAttributes)
-
resolveChecksumSpecs
public static ChecksumSpecs resolveChecksumSpecs(ExecutionAttributes executionAttributes)
-
modifyHttpRequest
public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
- Specified by:
modifyHttpRequestin interfaceExecutionInterceptor
-
-