public abstract class AbstractGrailsView extends AbstractUrlBasedView
A view applied to a Grails application that ensures an appropriate web request is bound
Type Params | Return Type | Name and description |
---|---|---|
|
protected GrailsWebRequest |
createGrailsWebRequest(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) |
|
public abstract Template |
getTemplate() |
|
protected final void |
renderMergedOutputModel(Map<String, Object> model, HttpServletRequest request, HttpServletResponse response) Delegates to renderMergedOutputModel(..) |
|
protected abstract void |
renderTemplate(Map<String, Object> model, GrailsWebRequest webRequest, HttpServletRequest request, HttpServletResponse response) Renders a page with the specified TemplateEngine, mode and response. |
|
public void |
rethrowRenderException(Throwable ex, String message) |
Delegates to renderMergedOutputModel(..)
model
- The view modelrequest
- The HttpServletRequestresponse
- The HttpServletResponseRenders a page with the specified TemplateEngine, mode and response.
model
- The model to userequest
- The HttpServletRequestresponse
- The HttpServletResponse instance