Package com.amazonaws.http
Class AWSRequestSigningApacheInterceptor
java.lang.Object
com.amazonaws.http.AWSRequestSigningApacheInterceptor
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
public class AWSRequestSigningApacheInterceptor
extends Object
implements org.apache.http.HttpRequestInterceptor
An
HttpRequestInterceptor that signs requests using any AWS Signer
and AwsCredentialsProvider.-
Constructor Summary
ConstructorsConstructorDescriptionAWSRequestSigningApacheInterceptor(String service, software.amazon.awssdk.auth.signer.internal.BaseAws4Signer signer, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider awsCredentialsProvider, software.amazon.awssdk.auth.signer.params.Aws4PresignerParams params) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
-
Constructor Details
-
AWSRequestSigningApacheInterceptor
public AWSRequestSigningApacheInterceptor(String service, software.amazon.awssdk.auth.signer.internal.BaseAws4Signer signer, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider awsCredentialsProvider, software.amazon.awssdk.auth.signer.params.Aws4PresignerParams params) - Parameters:
service- service that we're connecting tosigner- particular signer implementationawsCredentialsProvider- source of AWS credentials for signing
-
-
Method Details
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException - Specified by:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionIOException
-