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, createClient
public List<Class<?>> clientClasses()
AbstractHTTPClientFactory
clientClasses
in class AbstractHTTPClientFactory
public final HTTPClient createClient(List<Class<? extends HTTPBehavior>> behaviors)
AbstractHTTPClientFactory
createClient
in interface HTTPClientFactory
createClient
in class AbstractHTTPClientFactory
protected HTTPClient createLogging(HTTPClient client)
createLogging
in class AbstractHTTPClientFactory
Copyright © 1996–2022 Geotools. All rights reserved.