public abstract class DuelMvcModule
extends com.sun.jersey.guice.JerseyServletModule
| Constructor and Description |
|---|
DuelMvcModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindControllers()
MVC controller bindings
We have to explicitly bind each controller class to ensure Guice controls instantiation for AOP.
|
protected abstract void |
bindStaticRoutes()
Static URL route bindings
http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/servlet/ServletModule.html
|
protected abstract void |
configureApp()
Miscellaneous IoC configuration
|
protected void |
configureServlets() |
protected abstract Package[] |
getControllerPackages()
Gets the set of packages containing all MVC controllers.
|
protected javax.servlet.http.HttpServlet |
getDefaultServlet()
Standard static file servlet
|
protected javax.servlet.Filter |
getGzipFilter()
Servlet Filter which GZIP compresses response
|
protected javax.servlet.Filter |
getNeverExpireFilter()
Servlet Filter which sets the cache control headers to never expire
|
exceptionMapperContext, extendedUriInfo, fearturesAndProperties, httpContext, httpHeaders, messageBodyWorkers, providers, request, requestContext, responseContext, securityContext, uriInfo, webAppconfigure, filter, filterRegex, getServletContext, serve, serveRegexaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected javax.servlet.http.HttpServlet getDefaultServlet()
protected javax.servlet.Filter getNeverExpireFilter()
protected javax.servlet.Filter getGzipFilter()
protected abstract void configureApp()
protected abstract void bindStaticRoutes()
protected abstract Package[] getControllerPackages()
protected void bindControllers()
#bindPackages(String...)protected final void configureServlets()
configureServlets in class com.google.inject.servlet.ServletModuleCopyright © 2014. All rights reserved.