| Modifier and Type | Method and Description |
|---|---|
protected void |
NeptuneNettyHttpSigV4Signer.attachSignature(io.netty.handler.codec.http.FullHttpRequest request,
NeptuneSigV4SignerBase.NeptuneSigV4Signature signature) |
protected void |
NeptuneApacheHttpSigV4Signer.attachSignature(org.apache.http.client.methods.HttpUriRequest request,
NeptuneSigV4SignerBase.NeptuneSigV4Signature signature) |
protected void |
NeptuneRequestMetadataSigV4Signer.attachSignature(RequestMetadata request,
NeptuneSigV4SignerBase.NeptuneSigV4Signature signature)
Takes a
RequestMetadata and updates the headers required for SigV4 auth. |
protected abstract void |
NeptuneSigV4SignerBase.attachSignature(T nativeRequest,
NeptuneSigV4SignerBase.NeptuneSigV4Signature signature)
Attach the signature provided in the signature object to the nativeRequest.
|
protected void |
NeptuneSigV4SignerBase.checkNotNull(Object obj,
String errMsg)
Tiny helper function to assert that the object is not null.
|
protected com.amazonaws.SignableRequest<?> |
NeptuneSigV4SignerBase.convertToSignableRequest(String httpMethodName,
URI httpEndpointUri,
String resourcePath,
Map<String,String> httpHeaders,
Map<String,List<String>> httpParameters,
InputStream httpContent)
Helper method to create an AWS SDK
SignableRequest based on HTTP information. |
void |
NeptuneSigV4SignerBase.signRequest(T request)
Main logics to sign the request.
|
void |
NeptuneSigV4Signer.signRequest(T request)
Sign the given input request using SigV4.
|
protected com.amazonaws.SignableRequest<?> |
NeptuneNettyHttpSigV4Signer.toSignableRequest(io.netty.handler.codec.http.FullHttpRequest request) |
protected com.amazonaws.SignableRequest<?> |
NeptuneApacheHttpSigV4Signer.toSignableRequest(org.apache.http.client.methods.HttpUriRequest request) |
protected com.amazonaws.SignableRequest<?> |
NeptuneRequestMetadataSigV4Signer.toSignableRequest(RequestMetadata request)
Converts a
RequestMetadata to a signable metadata by adding signature headers for AWS SigV4 auth. |
protected abstract com.amazonaws.SignableRequest<?> |
NeptuneSigV4SignerBase.toSignableRequest(T nativeRequest)
Convert the native request into an AWS SDK
SignableRequest object which
can be used to perform signing. |
| Constructor and Description |
|---|
NeptuneApacheHttpSigV4Signer(String regionName,
com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
Create a V4 Signer for Apache Commons HTTP requests.
|
NeptuneNettyHttpSigV4Signer(String regionName,
com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
Create a V4 Signer for Netty HTTP requests.
|
NeptuneRequestMetadataSigV4Signer(String regionName,
com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
Create a V4 Signer for
RequestMetadata. |
NeptuneSigV4SignerBase(String regionName,
com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
Create a
NeptuneSigV4Signer instance for the given region and service name. |