RequestSignerpublic final class SignerAsRequestSigner extends Object implements RequestSigner
Signer to implement the
RequestSigner interface| Constructor | 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)
SignerAsRequestSignersigner - the underlying Signer to use to actually sign the requestcredentialsProvider - the credentialsProvider to use to pass AwsCredentials to the underlying Signerpublic SdkHttpFullRequest sign(SdkHttpFullRequest request)
RequestSignersign in interface RequestSignerrequest - The request to sign.RequestSigner.sign(SdkHttpFullRequest)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.