Class S3DisableChunkEncodingIfConfiguredPlugin
java.lang.Object
software.amazon.awssdk.services.s3.internal.plugins.S3DisableChunkEncodingIfConfiguredPlugin
- All Implemented Interfaces:
AutoCloseable,SdkPlugin,SdkAutoCloseable
Internal plugin that uses the check if
S3Configuration.chunkedEncodingEnabled() is configured and equals to
false, if so, then it installs an instance of S3DisableChunkEncodingAuthSchemeProvider wrapping the configured
S3AuthSchemeProvider that sets AwsV4FamilyHttpSigner.CHUNK_ENCODING_ENABLED to false.
This pre SRA logic was implemented before using an interceptor but now requires wrapping the S3AuthSchemeProvider for it to work.
-
Constructor Details
-
S3DisableChunkEncodingIfConfiguredPlugin
-
-
Method Details
-
configureClient
Description copied from interface:SdkPluginModify the provided client configuration.- Specified by:
configureClientin interfaceSdkPlugin
-