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,org.spincast.core.guice.SpincastContextTypesInterested
public class SpincastHttpClientWithWebsocketPluginModule
extends org.spincast.plugins.httpclient.SpincastHttpClientPluginModule
Guice module for the Spincast Http Client with Websocket support plugin.
-
Constructor Summary
ConstructorsConstructorDescriptionSpincastHttpClientWithWebsocketPluginModule(Class<? extends org.spincast.core.exchange.RequestContext<?>> requestContextImplementationClass, Class<? extends org.spincast.core.websocket.WebsocketContext<?>> websocketContextImplementationClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidOverride to bind WebsocketRequestBuilder too.protected voidprotected voidprotected Class<? extends org.spincast.plugins.httpclient.utils.SpincastHttpClientUtils>protected Class<? extends SpincastHttpClientWithWebsocketUtils>Methods inherited from class org.spincast.plugins.httpclient.SpincastHttpClientPluginModule
bindHttpResponseFactory, bindSpincastHttpClientUtilsMethods inherited from class org.spincast.core.guice.SpincastGuiceModuleBase
getRequestContextImplementationClass, getRequestContextInterface, getWebsocketContextImplementationClass, getWebsocketContextInterface, install, parameterizeWithContextInterfaces, parameterizeWithRequestContext, parameterizeWithWebsocketContext, setRequestContextImplementationClass, setWebsocketContextImplementationClassMethods 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
-
-
Method Details
-
configure
protected void configure()- Overrides:
configurein classorg.spincast.plugins.httpclient.SpincastHttpClientPluginModule
-
bindHttpClientFactory
protected void bindHttpClientFactory()Override to bind WebsocketRequestBuilder too.- Overrides:
bindHttpClientFactoryin classorg.spincast.plugins.httpclient.SpincastHttpClientPluginModule
-
bindSpincastHttpClientWithWebsocketUtils
protected void bindSpincastHttpClientWithWebsocketUtils() -
getSpincastHttpClientUtilsWithWebsocketClass
protected Class<? extends SpincastHttpClientWithWebsocketUtils> getSpincastHttpClientUtilsWithWebsocketClass() -
getSpincastHttpClientUtilsClass
protected Class<? extends org.spincast.plugins.httpclient.utils.SpincastHttpClientUtils> getSpincastHttpClientUtilsClass()- Overrides:
getSpincastHttpClientUtilsClassin classorg.spincast.plugins.httpclient.SpincastHttpClientPluginModule
-