@Deprecated public static class ApacheHttpClient.Factory extends java.lang.Object implements HttpClient.Factory
Constructor and Description |
---|
Factory()
Deprecated.
|
Factory(HttpClientFactory clientFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanupIdleClients()
Deprecated.
Closes idle clients.
|
HttpClient |
createClient(java.net.URL url)
Deprecated.
Creates a HTTP client that will send requests to the given URL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDefault
public Factory()
public Factory(HttpClientFactory clientFactory)
public HttpClient createClient(java.net.URL url)
HttpClient.Factory
createClient
in interface HttpClient.Factory
url
- URLpublic void cleanupIdleClients()
HttpClient.Factory
cleanupIdleClients
in interface HttpClient.Factory