Class LegacyMd5ExecutionInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.LegacyMd5ExecutionInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()static ChecksumSpecsgetResolvedChecksumSpecs(ExecutionAttributes executionAttributes) static booleanisMd5ChecksumRequired(ExecutionAttributes executionAttributes) modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Modify theSdkHttpFullRequestbefore it is sent to the service.static ChecksumSpecsresolveChecksumSpecs(ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 Details
-
HTTP_CHECKSUM_HEADER_PREFIX
- See Also:
-
-
Method Details
-
create
-
isMd5ChecksumRequired
-
getResolvedChecksumSpecs
-
resolveChecksumSpecs
-
modifyHttpRequest
public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Description copied from interface:ExecutionInterceptorModify theSdkHttpFullRequestbefore it is sent to the service.- Specified by:
modifyHttpRequestin interfaceExecutionInterceptor- Parameters:
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.- Returns:
- The potentially-modified HTTP request that should be sent to the service. Must not be null.
-