Class RESTSigV4Signer

java.lang.Object
org.apache.iceberg.aws.RESTSigV4Signer
All Implemented Interfaces:
org.apache.hc.core5.http.HttpRequestInterceptor

public class RESTSigV4Signer extends Object implements org.apache.hc.core5.http.HttpRequestInterceptor
Provides a request interceptor for use with the HTTPClient that calculates the required signature for the SigV4 protocol and adds the necessary headers for all requests created by the client.

See Signing AWS API requests for details about the protocol.

  • Constructor Details

    • RESTSigV4Signer

      public RESTSigV4Signer()
  • Method Details

    • initialize

      public void initialize(Map<String,String> properties)
    • process

      public void process(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
      Specified by:
      process in interface org.apache.hc.core5.http.HttpRequestInterceptor