Package org.geotools.http
Class DefaultHTTPClientFactory
Object
AbstractHTTPClientFactory
DefaultHTTPClientFactory
- All Implemented Interfaces:
HTTPClientFactory
Default factory for generating HTTP client's. Will deliver a SimpleHttpClient.
- Author:
- Roar Brænden
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the HTTPClient classes that this factory will create.final HTTPClient
createClient
(List<Class<? extends HTTPBehavior>> behaviors) Create instance of HTTPClient.Methods inherited from class AbstractHTTPClientFactory
applyLogging, canProcess, createClient, createLogging
-
Constructor Details
-
DefaultHTTPClientFactory
public DefaultHTTPClientFactory()
-
-
Method Details
-
clientClasses
Description copied from class:AbstractHTTPClientFactory
Return the HTTPClient classes that this factory will create.- Specified by:
clientClasses
in classAbstractHTTPClientFactory
- Returns:
-
createClient
Description copied from class:AbstractHTTPClientFactory
Create instance of HTTPClient. Behaviors should be used if factory creates different client's. Otherwise it's excessive to use.- Specified by:
createClient
in interfaceHTTPClientFactory
- Specified by:
createClient
in classAbstractHTTPClientFactory
- Returns:
- default http client
-