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

    Constructors
    Constructor
    Description
     
    SpincastHttpClientWithWebsocketPluginModule(Class<? extends org.spincast.core.exchange.RequestContext<?>> requestContextImplementationClass, Class<? extends org.spincast.core.websocket.WebsocketContext<?>> websocketContextImplementationClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Override to bind WebsocketRequestBuilder too.
    protected void
     
    protected void
     
    protected Class<? extends org.spincast.plugins.httpclient.utils.SpincastHttpClientUtils>
     
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpincastHttpClientWithWebsocketPluginModule

      public SpincastHttpClientWithWebsocketPluginModule()
    • SpincastHttpClientWithWebsocketPluginModule

      public SpincastHttpClientWithWebsocketPluginModule(Class<? extends org.spincast.core.exchange.RequestContext<?>> requestContextImplementationClass, Class<? extends org.spincast.core.websocket.WebsocketContext<?>> websocketContextImplementationClass)
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class org.spincast.plugins.httpclient.SpincastHttpClientPluginModule
    • bindHttpClientFactory

      protected void bindHttpClientFactory()
      Override to bind WebsocketRequestBuilder too.
      Overrides:
      bindHttpClientFactory in class org.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:
      getSpincastHttpClientUtilsClass in class org.spincast.plugins.httpclient.SpincastHttpClientPluginModule