Class MinimalHttpClient

java.lang.Object
org.apache.http.impl.client.CloseableHttpClient
org.apache.http.impl.client.MinimalHttpClient
All Implemented Interfaces:
Closeable, AutoCloseable, HttpClient

@Contract(threading=SAFE_CONDITIONAL) class MinimalHttpClient extends CloseableHttpClient
Internal class.
Since:
4.3
  • Field Details

  • Constructor Details

  • Method Details

    • doExecute

      protected CloseableHttpResponse doExecute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws IOException, ClientProtocolException
      Specified by:
      doExecute in class CloseableHttpClient
      Throws:
      IOException
      ClientProtocolException
    • getParams

      public org.apache.http.params.HttpParams getParams()
      Description copied from interface: HttpClient
      Obtains the parameters for this client. These parameters will become defaults for all requests being executed with this client, and for the parameters of dependent objects in this client.
      Returns:
      the default parameters
    • close

      public void close()
    • getConnectionManager

      public ClientConnectionManager getConnectionManager()
      Description copied from interface: HttpClient
      Obtains the connection manager used by this client.
      Returns:
      the connection manager