Package org.webharvest.ioc
Class HttpModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.webharvest.ioc.HttpModule
-
- All Implemented Interfaces:
com.google.inject.Module
public final class HttpModule extends com.google.inject.AbstractModule
Google Guice module containing bindings for Web-Harvest's HTTP-related components.- Since:
- 2.1.0-SNAPSHOT
- Version:
- %I%, %G%
- Author:
- Piotr Dyraga
-
-
Constructor Summary
Constructors Constructor Description HttpModule(HttpClientManager.ProxySettings proxySettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Constructor Detail
-
HttpModule
public HttpModule(HttpClientManager.ProxySettings proxySettings)
InstantiatesHttpModule
accepting not-null
reference to the HTTPHttpClientManager.ProxySettings
. These settings will be used to perform HTTP proxy server configuration in all components bound within this module and requiring such configuration.- Parameters:
proxySettings
- reference to notnull
HttpClientManager.ProxySettings
- See Also:
HttpClientManager.ProxySettings
-
-