Package org.geotools.http
Class HTTPClientFinder
- Object
- 
- FactoryFinder
- 
- HTTPClientFinder
 
 
- 
 public class HTTPClientFinder extends FactoryFinder Factory finder for getting instances of HTTPClientFactory. All implementations should be registered as a file with name org.geotools.http.HTTPClientFactory in META_INF/services of their respective jar.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. - Author:
- Roar Brænden
 
- 
- 
Field Summary- 
Fields inherited from class FactoryFinderEMPTY_HINTS
 
- 
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static HTTPClientcreateClient()Get default HTTP client.static HTTPClientcreateClient(Class<? extends HTTPBehavior>... behaviors)Get HTTP client with the given behaviors.static HTTPClientcreateClient(Hints hints)Get a special HTTP client by specifying hint HTTP_CLIENT_FACTORY or HTTP_CLIENTstatic voidreset()Makes sure a call for getServiceRegistry will do a clean scan- 
Methods inherited from class FactoryFindermergeSystemHints
 
- 
 
- 
- 
- 
Method Detail- 
createClientpublic static HTTPClient createClient() Get default HTTP client. Can be adjusted by setting property "org.geotools.http.client".
 - 
createClient@SafeVarargs public static HTTPClient createClient(Class<? extends HTTPBehavior>... behaviors) Get HTTP client with the given behaviors.
 - 
createClientpublic static HTTPClient createClient(Hints hints) Get a special HTTP client by specifying hint HTTP_CLIENT_FACTORY or HTTP_CLIENTMerges with system defaults - Parameters:
- hints-
- Returns:
 
 - 
resetpublic static void reset() Makes sure a call for getServiceRegistry will do a clean scan
 
- 
 
-