Class ApacheHttpClient43Engine

java.lang.Object
org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine
org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient43Engine
All Implemented Interfaces:
ClientHttpEngine

public class ApacheHttpClient43Engine extends ApacheHttpClient4Engine
An Apache HTTP engine for use with the new Builder Config style. To accommodate the configuration style this class overrides the methods that get/set from the old Parameters Otherwise only the old style parameters will get picked up. Consider using the factory ApacheHttpClient4EngineFactory instead of using this class directly
  • Constructor Details

    • ApacheHttpClient43Engine

      public ApacheHttpClient43Engine()
    • ApacheHttpClient43Engine

      public ApacheHttpClient43Engine(org.apache.http.HttpHost defaultProxy)
    • ApacheHttpClient43Engine

      public ApacheHttpClient43Engine(org.apache.http.client.HttpClient httpClient)
    • ApacheHttpClient43Engine

      public ApacheHttpClient43Engine(org.apache.http.client.HttpClient httpClient, boolean closeHttpClient)
    • ApacheHttpClient43Engine

      @Deprecated public ApacheHttpClient43Engine(org.apache.http.client.HttpClient httpClient, org.apache.http.protocol.HttpContext httpContext)
      Deprecated.
      Creates a client engine instance using the specified HttpClient and HttpContext instances. Note that the same instance of httpContext is passed to the engine, which may store thread unsafe attributes in it. It is hence recommended to override the HttpClient
      execute(HttpUriRequest request, HttpContext context)
      method to perform a deep copy of the context before executing the request.
      Parameters:
      httpClient - The http client
      httpContext - The context to be used for executing requests
    • ApacheHttpClient43Engine

      public ApacheHttpClient43Engine(org.apache.http.client.HttpClient httpClient, HttpContextProvider httpContextProvider)
  • Method Details