@groovy.transform.CompileStatic class GrailsDispatcherServlet extends DispatcherServlet implements ServletContextAware
Simple extension to the Spring DispatcherServlet implementation that makes sure a GrailsWebRequest is bound
| Constructor and description |
|---|
GrailsDispatcherServlet() |
GrailsDispatcherServlet(WebApplicationContext webApplicationContext) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected GrailsWebRequest |
buildGrailsWebRequest(HttpServletRequest request, HttpServletResponse response) |
|
protected ServletRequestAttributes |
buildRequestAttributes(HttpServletRequest request, HttpServletResponse response, RequestAttributes previousAttributes) |
|
protected HttpServletRequest |
checkMultipart(HttpServletRequest request) |
|
protected void |
render(ModelAndView mv, HttpServletRequest request, HttpServletResponse response)Wraps the view-render phase in a grails.render span — parent of the GSP render spans, so
"render excluding GSP" is grails.render minus its GSP children. |
|
void |
setApplicationContext(ApplicationContext applicationContext) |
|
void |
setServletContext(ServletContext servletContext) |
Wraps the view-render phase in a grails.render span — parent of the GSP render spans, so
"render excluding GSP" is grails.render minus its GSP children.