Class ApacheHttpClient5EdgeGridInterceptor

java.lang.Object
com.akamai.edgegrid.signer.apachehttpclient5.ApacheHttpClient5EdgeGridInterceptor
All Implemented Interfaces:
org.apache.hc.core5.http.HttpRequestInterceptor

public class ApacheHttpClient5EdgeGridInterceptor extends Object implements org.apache.hc.core5.http.HttpRequestInterceptor
Apache HTTP Client5 Library interceptor that signs a request using EdgeGrid V1 signing algorithm. Signing is a process of adding an Authorization header with a request signature. If signing fails then RuntimeException is thrown.
  • Constructor Details

  • Method Details

    • process

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