public class HTTPClientFinder extends FactoryFinder
To pick a particular implementation the hint HTTP_CLIENT_FACTORY could be set to the full class name, either in the function call, or by Java property.
EMPTY_HINTS
Modifier and Type | Method and Description |
---|---|
static HTTPClient |
createClient()
Get default HTTP client.
|
static HTTPClient |
createClient(Class<? extends HTTPBehavior>... behaviors)
Get HTTP client with the given behaviors.
|
static HTTPClient |
createClient(Hints hints)
Get a special HTTP client by specifying hint HTTP_CLIENT_FACTORY or HTTP_CLIENT
Merges with system defaults
|
static void |
reset()
Makes sure a call for getServiceRegistry will do a clean scan
|
mergeSystemHints
public static HTTPClient createClient()
@SafeVarargs public static HTTPClient createClient(Class<? extends HTTPBehavior>... behaviors)
public static HTTPClient createClient(Hints hints)
Merges with system defaults
hints
- public static void reset()
Copyright © 1996–2023 Geotools. All rights reserved.