public.javadoc.org.spincast.plugins.httpclient.websocket.SpincastHttpClientWithWebsocketPluginModule.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastHttpClientWithWebsocketPluginModule (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.httpclient.websocket
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
public class SpincastHttpClientWithWebsocketPluginModule
extends SpincastHttpClientPluginModule
Guice module for the Spincast Http Client with Websocket support plugin.
-
-
Constructor Summary
Constructors
Constructor and Description
SpincastHttpClientWithWebsocketPluginModule()
SpincastHttpClientWithWebsocketPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected void
bindHttpClientFactory()
Override to bind WebsocketRequestBuilder too.
protected void
bindSpincastHttpClientWithWebsocketUtils()
protected void
configure()
protected Class<? extends SpincastHttpClientUtils>
getSpincastHttpClientUtilsClass()
protected Class<? extends SpincastHttpClientWithWebsocketUtils>
getSpincastHttpClientUtilsWithWebsocketClass()
-
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 Detail
-
SpincastHttpClientWithWebsocketPluginModule
public SpincastHttpClientWithWebsocketPluginModule()
-
SpincastHttpClientWithWebsocketPluginModule
public SpincastHttpClientWithWebsocketPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in class SpincastHttpClientPluginModule
-
bindHttpClientFactory
protected void bindHttpClientFactory()
Override to bind WebsocketRequestBuilder too.
- Overrides:
bindHttpClientFactory
in class SpincastHttpClientPluginModule
-
bindSpincastHttpClientWithWebsocketUtils
protected void bindSpincastHttpClientWithWebsocketUtils()
-
getSpincastHttpClientUtilsWithWebsocketClass
protected Class<? extends SpincastHttpClientWithWebsocketUtils> getSpincastHttpClientUtilsWithWebsocketClass()
-
getSpincastHttpClientUtilsClass
protected Class<? extends SpincastHttpClientUtils> getSpincastHttpClientUtilsClass()
- Overrides:
getSpincastHttpClientUtilsClass
in class SpincastHttpClientPluginModule
Copyright © 2019. All rights reserved.