Package org.geotools.http
Class DefaultHTTPClientFactory
- Object
- 
- AbstractHTTPClientFactory
- 
- DefaultHTTPClientFactory
 
 
- 
- All Implemented Interfaces:
- HTTPClientFactory
 
 public class DefaultHTTPClientFactory extends AbstractHTTPClientFactory Default factory for generating HTTP client's. Will deliver a SimpleHttpClient.- Author:
- Roar Brænden
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultHTTPClientFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Class<?>>clientClasses()Return the HTTPClient classes that this factory will create.HTTPClientcreateClient(List<Class<? extends HTTPBehavior>> behaviors)Create instance of HTTPClient.- 
Methods inherited from class AbstractHTTPClientFactoryapplyLogging, canProcess, createClient, createLogging
 
- 
 
- 
- 
- 
Method Detail- 
clientClassesprotected List<Class<?>> clientClasses() Description copied from class:AbstractHTTPClientFactoryReturn the HTTPClient classes that this factory will create.- Specified by:
- clientClassesin class- AbstractHTTPClientFactory
- Returns:
 
 - 
createClientpublic final HTTPClient createClient(List<Class<? extends HTTPBehavior>> behaviors) Description copied from class:AbstractHTTPClientFactoryCreate instance of HTTPClient. Behaviors should be used if factory creates different client's. Otherwise it's excessive to use.- Specified by:
- createClientin interface- HTTPClientFactory
- Specified by:
- createClientin class- AbstractHTTPClientFactory
- Returns:
- default http client
 
 
- 
 
-