Class ApacheHttpClient

java.lang.Object
com.intuit.karate.http.ApacheHttpClient
All Implemented Interfaces:
HttpClient, org.apache.http.HttpRequestInterceptor

public class ApacheHttpClient extends Object implements HttpClient, org.apache.http.HttpRequestInterceptor
Author:
pthomas3
  • Constructor Details

  • Method Details

    • setConfig

      public void setConfig(Config config)
      Specified by:
      setConfig in interface HttpClient
    • getConfig

      public Config getConfig()
      Specified by:
      getConfig in interface HttpClient
    • invoke

      public Response invoke(HttpRequest request)
      Specified by:
      invoke in interface HttpClient
    • process

      public void process(org.apache.http.HttpRequest hr, org.apache.http.protocol.HttpContext hc) throws org.apache.http.HttpException, IOException
      Specified by:
      process in interface org.apache.http.HttpRequestInterceptor
      Throws:
      org.apache.http.HttpException
      IOException