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 Details

    • AWSRequestSigningApacheInterceptor

      public AWSRequestSigningApacheInterceptor(String service, com.amazonaws.auth.Signer signer, com.amazonaws.auth.AWSCredentialsProvider awsCredentialsProvider)
      Parameters:
      service - service that we're connecting to
      signer - particular signer implementation
      awsCredentialsProvider - 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:
      process in interface org.apache.http.HttpRequestInterceptor
      Throws:
      org.apache.http.HttpException
      IOException