public class GrailsControllerHandlerMapping
extends org.springframework.web.servlet.handler.AbstractHandlerMapping
implements org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MAIN_CONTROLLER_BEAN |
| Constructor and Description |
|---|
GrailsControllerHandlerMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.servlet.HandlerInterceptor[] |
establishInterceptors(org.springframework.web.context.WebApplicationContext webContext) |
protected org.springframework.web.servlet.HandlerInterceptor[] |
establishInterceptors(org.springframework.web.context.WebApplicationContext webContext,
java.util.List<?> previousInterceptors)
Evalutes the given WebApplicationContext for all HandlerInterceptor and WebRequestInterceptor instances
|
protected void |
extendInterceptors(java.util.List interceptors) |
protected org.springframework.web.servlet.HandlerExecutionChain |
getHandlerExecutionChain(java.lang.Object handler,
javax.servlet.http.HttpServletRequest request) |
protected java.lang.Object |
getHandlerForControllerClass(org.codehaus.groovy.grails.commons.GrailsControllerClass controllerClass,
javax.servlet.http.HttpServletRequest request)
Obtains the handler for the given controller class.
|
protected java.lang.Object |
getHandlerInternal(javax.servlet.http.HttpServletRequest request) |
protected org.springframework.web.servlet.HandlerInterceptor[] |
lookupInterceptors(org.springframework.web.context.WebApplicationContext applicationContext) |
void |
setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication) |
adaptInterceptor, detectMappedInterceptors, getAdaptedInterceptors, getDefaultHandler, getHandler, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final java.lang.String MAIN_CONTROLLER_BEAN
protected java.lang.Object getHandlerInternal(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
getHandlerInternal in class org.springframework.web.servlet.handler.AbstractHandlerMappingjava.lang.Exceptionprotected java.lang.Object getHandlerForControllerClass(org.codehaus.groovy.grails.commons.GrailsControllerClass controllerClass,
javax.servlet.http.HttpServletRequest request)
controllerClass - The controller classrequest - The HttpServletRequestprotected final org.springframework.web.servlet.HandlerExecutionChain getHandlerExecutionChain(java.lang.Object handler,
javax.servlet.http.HttpServletRequest request)
getHandlerExecutionChain in class org.springframework.web.servlet.handler.AbstractHandlerMappingprotected void extendInterceptors(java.util.List interceptors)
extendInterceptors in class org.springframework.web.servlet.handler.AbstractHandlerMappingprotected org.springframework.web.servlet.HandlerInterceptor[] lookupInterceptors(org.springframework.web.context.WebApplicationContext applicationContext)
protected org.springframework.web.servlet.HandlerInterceptor[] establishInterceptors(org.springframework.web.context.WebApplicationContext webContext)
protected org.springframework.web.servlet.HandlerInterceptor[] establishInterceptors(org.springframework.web.context.WebApplicationContext webContext,
java.util.List<?> previousInterceptors)
webContext - The WebApplicationContextpublic void setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)
setGrailsApplication in interface org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware