public class HttpClients extends Object
CloseableHttpClient
instances.Modifier | Constructor and Description |
---|---|
private |
HttpClients() |
Modifier and Type | Method and Description |
---|---|
static CloseableHttpClient |
createDefault()
Creates
CloseableHttpClient instance with default
configuration. |
static CloseableHttpClient |
createMinimal()
Creates
CloseableHttpClient instance that implements
the most basic HTTP protocol support. |
static CloseableHttpClient |
createMinimal(HttpClientConnectionManager connManager)
Creates
CloseableHttpClient instance that implements
the most basic HTTP protocol support. |
static CloseableHttpClient |
createSystem()
Creates
CloseableHttpClient instance with default
configuration based on ssytem properties. |
static HttpClientBuilder |
custom()
Creates builder object for construction of custom
CloseableHttpClient instances. |
private HttpClients()
public static HttpClientBuilder custom()
CloseableHttpClient
instances.public static CloseableHttpClient createDefault()
CloseableHttpClient
instance with default
configuration.public static CloseableHttpClient createSystem()
CloseableHttpClient
instance with default
configuration based on ssytem properties.public static CloseableHttpClient createMinimal()
CloseableHttpClient
instance that implements
the most basic HTTP protocol support.public static CloseableHttpClient createMinimal(HttpClientConnectionManager connManager)
CloseableHttpClient
instance that implements
the most basic HTTP protocol support.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses