public static class ApacheHttpClient.Factory extends java.lang.Object implements HttpClient.Factory
| Constructor and Description |
|---|
Factory() |
Factory(HttpClientFactory clientFactory) |
| 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultpublic Factory()
public Factory(HttpClientFactory clientFactory)
public HttpClient createClient(java.net.URL url)
HttpClient.FactorycreateClient in interface HttpClient.Factoryurl - URLpublic void cleanupIdleClients()
HttpClient.FactorycleanupIdleClients in interface HttpClient.Factory