public abstract class AbstractGrailsControllerHelper extends java.lang.Object
Processes Grails controller requests and responses.
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.Class<?>, java.lang.Boolean> |
allowedMethodsSupport |
|
protected GrailsApplication |
application |
|
protected org.springframework.context.ApplicationContext |
applicationContext |
|
protected boolean |
developerMode |
|
protected boolean |
developmentMode |
|
protected GrailsApplicationAttributes |
grailsAttributes |
|
protected javax.servlet.ServletContext |
servletContext |
Type | Name and description |
---|---|
protected org.springframework.web.servlet.ModelAndView |
executeAction(groovy.lang.GroovyObject controller, java.lang.String actionName, java.lang.String viewName, GrailsWebRequest webRequest, java.util.Map params) Invokes the action defined by the webRequest for the given arguments. |
GrailsControllerClass |
getControllerClassByName(java.lang.String name) |
GrailsControllerClass |
getControllerClassByURI(java.lang.String uri) |
groovy.lang.GroovyObject |
getControllerInstance(GrailsControllerClass controllerClass) |
GrailsApplicationAttributes |
getGrailsAttributes() |
javax.servlet.ServletContext |
getServletContext() |
java.lang.Object |
handleAction(groovy.lang.GroovyObject controller, java.lang.Object action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) |
java.lang.Object |
handleAction(groovy.lang.GroovyObject controller, java.lang.Object action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map params) |
org.springframework.web.servlet.ModelAndView |
handleActionResponse(groovy.lang.GroovyObject controller, java.lang.Object returnValue, GrailsWebRequest webRequest, java.util.Map chainModel, java.lang.String closurePropertyName, java.lang.String viewName) |
org.springframework.web.servlet.ModelAndView |
handleURI(java.lang.String uri, GrailsWebRequest request) |
org.springframework.web.servlet.ModelAndView |
handleURI(java.lang.String originalUri, GrailsWebRequest grailsWebRequest, java.util.Map params) |
protected boolean |
hasCompileTimeSupportForAllowedMethods(groovy.lang.GroovyObject controller) |
protected java.lang.Object |
invoke(groovy.lang.GroovyObject controller, java.lang.Object action) |
protected java.lang.Object |
retrieveAction(groovy.lang.GroovyObject controller, java.lang.String actionName, javax.servlet.http.HttpServletResponse response) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setGrailsApplication(GrailsApplication application) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Invokes the action defined by the webRequest for the given arguments.
controller
- The controller instanceactionName
- The current actionviewName
- The name of the view to delegate to if necessarywebRequest
- the current web Requestparams
- A map of parameters