|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController
public class SimpleGrailsController
Base class for Grails controllers.
Method Summary | |
---|---|
ServletContext
|
getServletContext()
|
ModelAndView
|
handleRequest(HttpServletRequest request, HttpServletResponse response)
Wraps regular request and response objects into Grails request and response objects. |
void
|
setGrailsApplication(GrailsApplication application)
|
void
|
setServletContext(ServletContext servletContext)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Method Detail |
---|
public ServletContext getServletContext()
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
Wraps regular request and response objects into Grails request and response objects.
It can handle maps as model types next to ModelAndView instances.
request
- HTTP requestresponse
- HTTP response
public void setGrailsApplication(GrailsApplication application)
public void setServletContext(ServletContext servletContext)
Groovy Documentation