|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper
public abstract class AbstractGrailsControllerHelper extends java.lang.Object
Processes Grails controller requests and responses.
Field Summary | |
---|---|
protected GrailsApplication |
application
|
protected org.springframework.context.ApplicationContext |
applicationContext
|
protected GrailsApplicationAttributes |
grailsAttributes
|
protected javax.servlet.ServletContext |
servletContext
|
Method Summary | |
---|---|
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)
|
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 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 java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Field Detail |
---|
protected GrailsApplication application
protected org.springframework.context.ApplicationContext applicationContext
protected GrailsApplicationAttributes grailsAttributes
protected javax.servlet.ServletContext servletContext
Method Detail |
---|
HttpServletResponse response = webRequest.getCurrentResponse(); 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)
public GrailsControllerClass getControllerClassByName(java.lang.String name)
public GrailsControllerClass getControllerClassByURI(java.lang.String uri)
public groovy.lang.GroovyObject getControllerInstance(GrailsControllerClass controllerClass)
public GrailsApplicationAttributes getGrailsAttributes()
public javax.servlet.ServletContext getServletContext()
public java.lang.Object handleAction(groovy.lang.GroovyObject controller, java.lang.Object action, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public 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)
public 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)
public org.springframework.web.servlet.ModelAndView handleURI(java.lang.String uri, GrailsWebRequest request)
@SuppressWarnings("rawtypes") public org.springframework.web.servlet.ModelAndView handleURI(java.lang.String originalUri, GrailsWebRequest grailsWebRequest, java.util.Map params)
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)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
public void setGrailsApplication(GrailsApplication application)
public void setServletContext(javax.servlet.ServletContext servletContext)
Groovy Documentation