Package org.spincast.plugins.undertow
Class SpincastUndertowPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.undertow.SpincastUndertowPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
-
Constructor Summary
ConstructorDescriptionSpincastUndertowPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected Class<? extends CacheBusterRemovalHandler>
protected Class<? extends CorsHandler>
protected Class<? extends SpincastClassPathDirResourceManager>
protected Class<? extends SpincastClassPathFileResourceManager>
protected Class<? extends GzipCheckerHandler>
protected Class<? extends SkipResourceOnQueryStringHandler>
protected Class<? extends SpincastHttpAuthIdentityManager>
protected Class<? extends SpincastResourceHandler>
protected Class<? extends SpincastUndertowUtils>
protected Class<? extends UndertowWebsocketEndpointWriter>
protected Class<? extends WebsocketEndpoint>
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 Details
-
SpincastUndertowPluginModule
public SpincastUndertowPluginModule() -
SpincastUndertowPluginModule
public SpincastUndertowPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
-
Method Details
-
configure
protected void configure()- Specified by:
configure
in classSpincastGuiceModuleBase
-
bindSpincastUndertowUtils
protected void bindSpincastUndertowUtils() -
getSpincastUndertowUtilsClass
-
getSpincastUndertowServerClass
-
bindCorsHandlerFactory
protected void bindCorsHandlerFactory() -
getCorsHandlerClass
-
bindGzipCheckerHandlerFactory
protected void bindGzipCheckerHandlerFactory() -
getGzipCheckerHandlerClass
-
bindSkipResourceOnQueryStringHandlerFactory
protected void bindSkipResourceOnQueryStringHandlerFactory() -
getSkipResourceOnQueryStringHandlerClass
protected Class<? extends SkipResourceOnQueryStringHandler> getSkipResourceOnQueryStringHandlerClass() -
bindSpincastResourceHandlerFactory
protected void bindSpincastResourceHandlerFactory() -
getSpincastResourceHandlerClass
-
bindCacheBusterRemovalHandlerFactory
protected void bindCacheBusterRemovalHandlerFactory() -
getCacheBusterRemovalHandlerClass
-
bindFileClassPathResourceManagerFactory
protected void bindFileClassPathResourceManagerFactory() -
getFileClassPathResourceManagerClass
protected Class<? extends SpincastClassPathFileResourceManager> getFileClassPathResourceManagerClass() -
getDirClassPathResourceManagerClass
protected Class<? extends SpincastClassPathDirResourceManager> getDirClassPathResourceManagerClass() -
bindHttpAuthIdentityManagerFactory
protected void bindHttpAuthIdentityManagerFactory() -
getSpincastHttpAuthIdentityManagerClass
protected Class<? extends SpincastHttpAuthIdentityManager> getSpincastHttpAuthIdentityManagerClass() -
bindUndertowWebsocketEndpointWriterFactory
protected void bindUndertowWebsocketEndpointWriterFactory() -
getUndertowWebsocketEndpointWriterClass
protected Class<? extends UndertowWebsocketEndpointWriter> getUndertowWebsocketEndpointWriterClass() -
bindWebsocketEndpointFactory
protected void bindWebsocketEndpointFactory() -
getWebsocketEndpointClass
-