Class ObjectMetadataInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.ObjectMetadataInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkInternalApi
public final class ObjectMetadataInterceptor
extends Object
implements ExecutionInterceptor
Interceptor that trims object metadata keys of any leading or trailing whitespace for
PutObject and
CreateMultipartUpload. This behavior is intended to provide the same functionality as in 1.x.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
clone, equals, finalize, 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, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyResponse, onExecutionFailure
-
Constructor Details
-
ObjectMetadataInterceptor
public ObjectMetadataInterceptor()
-
-
Method Details
-
modifyRequest
public SdkRequest modifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes) - Specified by:
modifyRequestin interfaceExecutionInterceptor
-