Class DefaultS3ExpressHttpSigner
java.lang.Object
software.amazon.awssdk.services.s3.internal.s3express.DefaultS3ExpressHttpSigner
- All Implemented Interfaces:
HttpSigner<S3ExpressSessionCredentials>
public final class DefaultS3ExpressHttpSigner
extends Object
implements HttpSigner<S3ExpressSessionCredentials>
-
Field Summary
Fields inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
SIGNING_CLOCK
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultS3ExpressHttpSigner
create()
static DefaultS3ExpressHttpSigner
create
(HttpSigner<AwsCredentialsIdentity> signer) sign
(SignRequest<? extends S3ExpressSessionCredentials> request) Method that takes in inputs to sign a request with sync payload and returns a signed version of the request.signAsync
(AsyncSignRequest<? extends S3ExpressSessionCredentials> request) Method that takes in inputs to sign a request with async payload and returns a future containing the signed version of the request.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
doNotSign, sign, signAsync
-
Method Details
-
create
-
create
-
sign
Description copied from interface:HttpSigner
Method that takes in inputs to sign a request with sync payload and returns a signed version of the request.- Specified by:
sign
in interfaceHttpSigner<S3ExpressSessionCredentials>
- Parameters:
request
- The inputs to sign a request.- Returns:
- A signed version of the request.
-
signAsync
public CompletableFuture<AsyncSignedRequest> signAsync(AsyncSignRequest<? extends S3ExpressSessionCredentials> request) Description copied from interface:HttpSigner
Method that takes in inputs to sign a request with async payload and returns a future containing the signed version of the request.- Specified by:
signAsync
in interfaceHttpSigner<S3ExpressSessionCredentials>
- Parameters:
request
- The inputs to sign a request.- Returns:
- A future containing the signed version of the request.
-