|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.servlet.handler.AbstractHandlerMapping org.codehaus.groovy.grails.web.servlet.GrailsControllerHandlerMapping
public class GrailsControllerHandlerMapping extends AbstractHandlerMapping
Matches Grails' SimpleController class.
Field Summary | |
---|---|
static java.lang.String |
MAIN_CONTROLLER_BEAN
|
Method Summary | |
---|---|
protected HandlerInterceptor[]
|
establishInterceptors(WebApplicationContext webContext)
Evalutes the given WebApplicationContext for all HandlerInterceptor and WebRequestInterceptor instances |
protected void
|
extendInterceptors(java.util.List interceptors)
|
protected HandlerExecutionChain
|
getHandlerExecutionChain(java.lang.Object handler, HttpServletRequest request)
|
protected java.lang.Object
|
getHandlerForControllerClass(GrailsControllerClass controllerClass, HttpServletRequest request)
Obtains the handler for the given controller class. |
protected java.lang.Object
|
getHandlerInternal(HttpServletRequest request)
|
protected HandlerInterceptor[]
|
lookupInterceptors(WebApplicationContext applicationContext)
|
void
|
setGrailsApplication(GrailsApplication grailsApplication)
|
Field Detail |
---|
public static final java.lang.String MAIN_CONTROLLER_BEAN
Method Detail |
---|
protected HandlerInterceptor[] establishInterceptors(WebApplicationContext webContext)
webContext
- The WebApplicationContext
@SuppressWarnings("rawtypes") @Override protected void extendInterceptors(java.util.List interceptors)
@Override protected final HandlerExecutionChain getHandlerExecutionChain(java.lang.Object handler, HttpServletRequest request)
protected java.lang.Object getHandlerForControllerClass(GrailsControllerClass controllerClass, @SuppressWarnings("unused") HttpServletRequest request)
controllerClass
- The controller classrequest
- The HttpServletRequest
@Override protected java.lang.Object getHandlerInternal(HttpServletRequest request)
protected HandlerInterceptor[] lookupInterceptors(WebApplicationContext applicationContext)
public void setGrailsApplication(GrailsApplication grailsApplication)
Groovy Documentation