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 DefaultS3ExpressHttpSignercreate()static DefaultS3ExpressHttpSignercreate(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, waitMethods inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
doNotSign, sign, signAsync
-
Method Details
-
create
-
create
-
sign
Description copied from interface:HttpSignerMethod that takes in inputs to sign a request with sync payload and returns a signed version of the request.- Specified by:
signin 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:HttpSignerMethod that takes in inputs to sign a request with async payload and returns a future containing the signed version of the request.- Specified by:
signAsyncin interfaceHttpSigner<S3ExpressSessionCredentials>- Parameters:
request- The inputs to sign a request.- Returns:
- A future containing the signed version of the request.
-