Class SpincastRoutingPluginModule

java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.routing.SpincastRoutingPluginModule
All Implemented Interfaces:
com.google.inject.Module, SpincastContextTypesInterested

public class SpincastRoutingPluginModule extends SpincastGuiceModuleBase
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
  • Constructor Details

    • SpincastRoutingPluginModule

      public SpincastRoutingPluginModule()
    • SpincastRoutingPluginModule

      public SpincastRoutingPluginModule(Class<? extends Router<?,?>> specificRouterImplementationClass)
    • SpincastRoutingPluginModule

      public SpincastRoutingPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
    • SpincastRoutingPluginModule

      public SpincastRoutingPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass, Class<? extends Router<?,?>> specificRouterImplementationClass)
  • Method Details

    • getSpecificRouterImplementationClass

      protected Class<? extends Router<?,?>> getSpecificRouterImplementationClass()
    • configure

      protected void configure()
      Specified by:
      configure in class SpincastGuiceModuleBase
    • validateRequirements

      protected void validateRequirements()
    • getRouterImplementationKey

      protected com.google.inject.Key<?> getRouterImplementationKey()
    • getRouteKey

      protected com.google.inject.Key<?> getRouteKey()
    • getWebsocketRouteKey

      protected com.google.inject.Key<?> getWebsocketRouteKey()
    • getStaticResourceKey

      protected com.google.inject.Key<?> getStaticResourceKey()
    • bindRouter

      protected void bindRouter()
    • bindRouteFactory

      protected void bindRouteFactory()
    • bindWebsocketRouteFactory

      protected void bindWebsocketRouteFactory()
    • bindRouteBuilderFactory

      protected void bindRouteBuilderFactory()
    • getRouteBuilderImplClass

      protected Class<? extends RouteBuilder> getRouteBuilderImplClass()
    • bindRedirectRuleBuilderFactory

      protected void bindRedirectRuleBuilderFactory()
    • getRedirectRuleBuilderImplClass

      protected Class<? extends RedirectRuleBuilder> getRedirectRuleBuilderImplClass()
    • bindWebsocketRouteBuilderFactory

      protected void bindWebsocketRouteBuilderFactory()
    • getWebsocketRouteBuilderImplClass

      protected Class<? extends WebsocketRouteBuilder> getWebsocketRouteBuilderImplClass()
    • bindWebsocketRouteHandlerFactory

      protected void bindWebsocketRouteHandlerFactory()
    • getWebsocketRouteHandlerImplClass

      protected Class<? extends Handler> getWebsocketRouteHandlerImplClass()
    • bindRouteHandlerMatchFactory

      protected void bindRouteHandlerMatchFactory()
    • getRouteHandlerMatchImplClass

      protected Class<? extends RouteHandlerMatch> getRouteHandlerMatchImplClass()
    • bindStaticResourceFactory

      protected void bindStaticResourceFactory()
    • bindStaticResourceBuilderFactory

      protected void bindStaticResourceBuilderFactory()
    • getStaticResourceBuilderImplClass

      protected Class<? extends StaticResourceBuilder> getStaticResourceBuilderImplClass()
    • bindStaticResourceCorsConfigFactory

      protected void bindStaticResourceCorsConfigFactory()
    • getStaticResourceCorsConfigImplClass

      protected Class<? extends StaticResourceCorsConfig> getStaticResourceCorsConfigImplClass()
    • bindStaticResourceCacheConfigFactory

      protected void bindStaticResourceCacheConfigFactory()
    • getStaticResourceCacheConfigImplClass

      protected Class<? extends StaticResourceCacheConfig> getStaticResourceCacheConfigImplClass()
    • bindStaticResourceHotlinkingManager

      protected void bindStaticResourceHotlinkingManager()
    • bindRequestContextAddon

      protected void bindRequestContextAddon()
    • bindETagFactory

      protected void bindETagFactory()
    • getETagFactoryImplClass

      protected Class<? extends ETagFactory> getETagFactoryImplClass()
    • bindSpincastRoutingUtils

      protected void bindSpincastRoutingUtils()
    • getSpincastRoutingUtilsImplClass

      protected Class<? extends SpincastRoutingUtils> getSpincastRoutingUtilsImplClass()