Class SpincastHttpClientWithWebsocketPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.httpclient.SpincastHttpClientPluginModule
org.spincast.plugins.httpclient.websocket.SpincastHttpClientWithWebsocketPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
Guice module for the Spincast Http Client with Websocket support plugin.
-
Constructor Summary
ConstructorDescriptionSpincastHttpClientWithWebsocketPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Override to bind WebsocketRequestBuilder too.protected void
protected void
protected Class<? extends SpincastHttpClientUtils>
protected Class<? extends SpincastHttpClientWithWebsocketUtils>
Methods inherited from class org.spincast.plugins.httpclient.SpincastHttpClientPluginModule
bindHttpResponseFactory, bindSpincastHttpClientUtils
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
-
SpincastHttpClientWithWebsocketPluginModule
public SpincastHttpClientWithWebsocketPluginModule() -
SpincastHttpClientWithWebsocketPluginModule
public SpincastHttpClientWithWebsocketPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classSpincastHttpClientPluginModule
-
bindHttpClientFactory
protected void bindHttpClientFactory()Override to bind WebsocketRequestBuilder too.- Overrides:
bindHttpClientFactory
in classSpincastHttpClientPluginModule
-
bindSpincastHttpClientWithWebsocketUtils
protected void bindSpincastHttpClientWithWebsocketUtils() -
getSpincastHttpClientUtilsWithWebsocketClass
protected Class<? extends SpincastHttpClientWithWebsocketUtils> getSpincastHttpClientUtilsWithWebsocketClass() -
getSpincastHttpClientUtilsClass
- Overrides:
getSpincastHttpClientUtilsClass
in classSpincastHttpClientPluginModule
-