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

    Constructors
    Constructor
    Description
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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