public class HttpClientBuilder extends Object implements ClientBuilder
| Constructor and Description |
|---|
HttpClientBuilder(String certPath,
int maxConnections) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
buildBasicClient()
Create a basic client with a single connection.
|
org.apache.http.impl.client.CloseableHttpClient |
buildPooledClient()
Create a pooled client
|
public HttpClientBuilder(String certPath, int maxConnections)
public org.apache.http.impl.client.CloseableHttpClient buildPooledClient()
throws IOException
ClientBuilderbuildPooledClient in interface ClientBuilderIOExceptionpublic org.apache.http.impl.client.CloseableHttpClient buildBasicClient()
throws IOException
ClientBuilderbuildBasicClient in interface ClientBuilderIOExceptionCopyright © 2018. All rights reserved.