public final class SignerAsRequestSigner extends Object implements RequestSigner
Signer
to implement the
RequestSigner
interfaceConstructor and Description |
---|
SignerAsRequestSigner(Signer signer,
AWSCredentialsProvider credentialsProvider)
Creates a
SignerAsRequestSigner |
Modifier and Type | Method and Description |
---|---|
void |
sign(SignableRequest<?> 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 void sign(SignableRequest<?> request)
RequestSigner
sign
in interface RequestSigner
request
- The request to sign.RequestSigner.sign(SignableRequest)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.