public.javadoc.org.spincast.plugins.routing.SpincastRoutingPluginModule.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.
SpincastRoutingPluginModule (org.spincast:spincast-framework 1.2.0 API)
org.spincast.plugins.routing
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 Summary
Fields
Modifier and Type
Field and Description
protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors
Constructor and Description
SpincastRoutingPluginModule()
SpincastRoutingPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
SpincastRoutingPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass,
Class<? extends Router<?,?>> specificRouterImplementationClass)
SpincastRoutingPluginModule(Class<? extends Router<?,?>> specificRouterImplementationClass)
-
Method Summary
-
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
-
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 Detail
-
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()
Copyright © 2019. All rights reserved.