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

public class SpincastHttpClientPluginModule extends SpincastGuiceModuleBase
Guice module for the Spincast Http Client plugin.
  • 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 class SpincastGuiceModuleBase
    • bindHttpClientFactory

      protected void bindHttpClientFactory()
    • bindHttpResponseFactory

      protected void bindHttpResponseFactory()
    • bindSpincastHttpClientUtils

      protected void bindSpincastHttpClientUtils()
    • getSpincastHttpClientUtilsClass

      protected Class<? extends SpincastHttpClientUtils> getSpincastHttpClientUtilsClass()