Class DisablePayloadSigningInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.DisablePayloadSigningInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
Disables payload signing for all S3 operations.
TODO(sra-identity-auth): After S3's migration to the SRA, we should use signer properties in the auth scheme resolver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeExecution
(Context.BeforeExecution context, ExecutionAttributes executionAttributes) Read a request that has been given to a service client before it is modified by other interceptors.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, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
Constructor Details
-
DisablePayloadSigningInterceptor
public DisablePayloadSigningInterceptor()
-
-
Method Details
-
beforeExecution
public void beforeExecution(Context.BeforeExecution context, ExecutionAttributes executionAttributes) Description copied from interface:ExecutionInterceptor
Read a request that has been given to a service client before it is modified by other interceptors.ExecutionInterceptor.beforeMarshalling(software.amazon.awssdk.core.interceptor.Context.BeforeMarshalling, software.amazon.awssdk.core.interceptor.ExecutionAttributes)
should be used in most circumstances for reading the request because it includes modifications made by other interceptors.This method is guaranteed to be executed on the thread that is making the client call. This is true even if a non- blocking I/O client is used. This is useful for transferring data that may be stored thread-locally into the execution's
ExecutionAttributes
.- Specified by:
beforeExecution
in interfaceExecutionInterceptor
- Parameters:
context
- The current state of the execution, including the unmodified SDK request from the service client call.executionAttributes
- A mutable set of attributes scoped to one specific request/response cycle that can be used to
-