Interface ClientBuilder

    • Method Detail

      • buildPooledClient

        org.apache.http.impl.client.CloseableHttpClient buildPooledClient()
                                                                   throws IOException
        Create a pooled client
        Returns:
        an HTTP client
        Throws:
        IOException
      • buildBasicClient

        org.apache.http.impl.client.CloseableHttpClient buildBasicClient()
                                                                  throws IOException
        Create a basic client with a single connection. This is the client which should be used in long running threads
        Returns:
        an HTTP client
        Throws:
        IOException