Class DefaultAwsV4HttpSigner
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.signer.DefaultAwsV4HttpSigner
-
- All Implemented Interfaces:
AwsV4FamilyHttpSigner<AwsCredentialsIdentity>,AwsV4HttpSigner,HttpSigner<AwsCredentialsIdentity>
public final class DefaultAwsV4HttpSigner extends Object implements AwsV4HttpSigner
An implementation of aAwsV4HttpSignerthat uses properties to compose v4-signers in order to delegate signing of a request and payload (if applicable) accordingly.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.auth.aws.signer.AwsV4FamilyHttpSigner
AwsV4FamilyHttpSigner.AuthLocation
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.http.auth.aws.signer.AwsV4FamilyHttpSigner
AUTH_LOCATION, CHECKSUM_ALGORITHM, CHUNK_ENCODING_ENABLED, DOUBLE_URL_ENCODE, EXPIRATION_DURATION, NORMALIZE_PATH, PAYLOAD_SIGNING_ENABLED, SERVICE_SIGNING_NAME
-
Fields inherited from interface software.amazon.awssdk.http.auth.aws.signer.AwsV4HttpSigner
REGION_NAME
-
Fields inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
SIGNING_CLOCK
-
-
Constructor Summary
Constructors Constructor Description DefaultAwsV4HttpSigner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignedRequestsign(SignRequest<? extends AwsCredentialsIdentity> request)CompletableFuture<AsyncSignedRequest>signAsync(AsyncSignRequest<? extends AwsCredentialsIdentity> request)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
doNotSign, sign, signAsync
-
-
-
-
Method Detail
-
sign
public SignedRequest sign(SignRequest<? extends AwsCredentialsIdentity> request)
- Specified by:
signin interfaceHttpSigner<AwsCredentialsIdentity>
-
signAsync
public CompletableFuture<AsyncSignedRequest> signAsync(AsyncSignRequest<? extends AwsCredentialsIdentity> request)
- Specified by:
signAsyncin interfaceHttpSigner<AwsCredentialsIdentity>
-
-