public static interface HttpClient.Factory
Modifier and Type | Method and Description |
---|---|
void |
cleanupIdleClients()
Closes idle clients.
|
HttpClient |
createClient(java.net.URL url)
Creates a HTTP client that will send requests to the given URL.
|
static HttpClient.Factory |
createDefault() |
static HttpClient.Factory createDefault()
HttpClient createClient(java.net.URL url)
url
- URLvoid cleanupIdleClients()