public class MultithreadedHttpClientFactory extends AbstractHTTPClientFactory
To use client set Hints.HTTP_CLIENT_FACTORY=MultithreadedHttpClientFactory.class, or Hints.HTTP_CLIENT=MultithreadedHttpClient.class
| Constructor and Description |
|---|
MultithreadedHttpClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
clientClasses()
Return the HTTPClient classes that this factory will create.
|
HTTPClient |
createClient(List<Class<? extends HTTPBehavior>> behaviors)
Create instance of HTTPClient.
|
protected HTTPClient |
createLogging(HTTPClient client) |
applyLogging, canProcess, createClientpublic List<Class<?>> clientClasses()
AbstractHTTPClientFactoryclientClasses in class AbstractHTTPClientFactorypublic final HTTPClient createClient(List<Class<? extends HTTPBehavior>> behaviors)
AbstractHTTPClientFactorycreateClient in interface HTTPClientFactorycreateClient in class AbstractHTTPClientFactoryprotected HTTPClient createLogging(HTTPClient client)
createLogging in class AbstractHTTPClientFactoryCopyright © 1996–2021 Geotools. All rights reserved.