RequestSigner
public final class SignerAsRequestSigner extends Object implements RequestSigner
Signer
to implement the
RequestSigner
interfaceConstructor | Description |
---|---|
SignerAsRequestSigner(Signer signer,
AwsCredentialsProvider credentialsProvider) |
Creates a
SignerAsRequestSigner |
Modifier and Type | Method | Description |
---|---|---|
SdkHttpFullRequest |
sign(SdkHttpFullRequest request) |
Sign the given request - modifies the
passed-in request to apply the signature.
|
public SignerAsRequestSigner(Signer signer, AwsCredentialsProvider credentialsProvider)
SignerAsRequestSigner
signer
- the underlying Signer
to use to actually sign the requestcredentialsProvider
- the credentialsProvider to use to pass AwsCredentials
to the underlying Signer
public SdkHttpFullRequest sign(SdkHttpFullRequest request)
RequestSigner
sign
in interface RequestSigner
request
- The request to sign.RequestSigner.sign(SdkHttpFullRequest)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.