Class HttpClientBuilder

    • Constructor Detail

      • HttpClientBuilder

        public HttpClientBuilder​(String certPath,
                                 int maxConnections)
    • Method Detail

      • buildBasicClient

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