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 |
---|---|
HttpClient |
createClient(java.net.URL url)
Creates a HTTP client that will send requests to the given URL.
|
public Factory()
public Factory(HttpClientFactory clientFactory)
public HttpClient createClient(java.net.URL url)
HttpClient.Factory
createClient
in interface HttpClient.Factory
url
- URL