Package org.spincast.plugins.httpclient
Class SpincastHttpClientPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.httpclient.SpincastHttpClientPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
- Direct Known Subclasses:
SpincastHttpClientWithWebsocketPluginModule
Guice module for the Spincast Http Client plugin.
-
Constructor Summary
ConstructorDescriptionSpincastHttpClientPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected Class<? extends SpincastHttpClientUtils>
Methods inherited from class org.spincast.core.guice.SpincastGuiceModuleBase
getRequestContextImplementationClass, getRequestContextInterface, getWebsocketContextImplementationClass, getWebsocketContextInterface, install, parameterizeWithContextInterfaces, parameterizeWithRequestContext, parameterizeWithWebsocketContext, setRequestContextImplementationClass, setWebsocketContextImplementationClass
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SpincastHttpClientPluginModule
public SpincastHttpClientPluginModule() -
SpincastHttpClientPluginModule
public SpincastHttpClientPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
-
Method Details
-
configure
protected void configure()- Specified by:
configure
in classSpincastGuiceModuleBase
-
bindHttpClientFactory
protected void bindHttpClientFactory() -
bindHttpResponseFactory
protected void bindHttpResponseFactory() -
bindSpincastHttpClientUtils
protected void bindSpincastHttpClientUtils() -
getSpincastHttpClientUtilsClass
-