Class PayloadSigningInterceptor
java.lang.Object
software.amazon.awssdk.services.s3control.internal.interceptors.PayloadSigningInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
Prevents moving query params to body during a POST which S3 doesn't like.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmodifyHttpContent
(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
equals, 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, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
Constructor Details
-
PayloadSigningInterceptor
public PayloadSigningInterceptor()
-
-
Method Details
-
modifyHttpContent
public Optional<RequestBody> modifyHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) - Specified by:
modifyHttpContent
in interfaceExecutionInterceptor
-