Class DefaultSdkPresigner
java.lang.Object
software.amazon.awssdk.services.s3.internal.signing.DefaultSdkPresigner
- All Implemented Interfaces:
AutoCloseable,SdkPresigner,SdkAutoCloseable
- Direct Known Subclasses:
DefaultS3Presigner
The base class implementing the
SdkPresigner interface.
TODO: This should get moved to aws-core (or split and moved to sdk-core and aws-core) when we support presigning from multiple services. TODO: After moving, this should get marked as an @SdkProtectedApi.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe base class implementing theSdkPresigner.Builderinterface. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this presigner, releasing any resources it might have acquired.
-
Method Details
-
close
public void close()Description copied from interface:SdkPresignerClose this presigner, releasing any resources it might have acquired. It is recommended to invoke this method whenever the presigner is done being used, to prevent resource leaks. For example, someAwsCredentialsProviderimplementations hold resources that could be released by this method.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable- Specified by:
closein interfaceSdkPresigner
-