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.HttpRequestInterceptorAnHttpRequestInterceptorthat signs requests using any AWSSignerandAWSCredentialsProvider.
-
-
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 voidprocess(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:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionjava.io.IOException
-
-