Package com.amazonaws.http
Class AWSRequestSigningApacheInterceptor
- java.lang.Object
-
- com.amazonaws.http.AWSRequestSigningApacheInterceptor
-
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
public class AWSRequestSigningApacheInterceptor extends java.lang.Object implements org.apache.http.HttpRequestInterceptor
AnHttpRequestInterceptor
that signs requests using any AWSSigner
andAWSCredentialsProvider
.
-
-
Constructor Summary
Constructors Constructor Description AWSRequestSigningApacheInterceptor(java.lang.String service, com.amazonaws.auth.Signer signer, com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
-
-
-
Constructor Detail
-
AWSRequestSigningApacheInterceptor
public AWSRequestSigningApacheInterceptor(java.lang.String service, com.amazonaws.auth.Signer signer, com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
- Parameters:
service
- service that we're connecting tosigner
- particular signer implementationawsCredentialsProvider
- source of AWS credentials for signing
-
-
Method Detail
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
- Specified by:
process
in interfaceorg.apache.http.HttpRequestInterceptor
- Throws:
org.apache.http.HttpException
java.io.IOException
-
-