RenderContext for the servlet environment
Type | Name and description |
---|---|
java.util.Map<java.lang.String, java.lang.Object> |
arguments |
ResponseMimeTypesApi |
responseMimeTypesApi |
GrailsWebRequest |
webRequest |
Constructor and description |
---|
ServletRenderContext
(GrailsWebRequest webRequest) |
ServletRenderContext
(GrailsWebRequest webRequest, java.util.Map<java.lang.String, java.lang.Object> arguments) |
Type | Name and description |
---|---|
MimeType |
getAcceptMimeType() |
java.lang.String |
getActionName() |
java.lang.String |
getControllerName() |
org.springframework.http.HttpMethod |
getHttpMethod() |
java.util.Locale |
getLocale() |
protected org.springframework.web.servlet.ModelAndView |
getModelAndView() |
java.lang.String |
getResourcePath() |
java.lang.String |
getViewName() |
java.io.Writer |
getWriter() |
void |
setContentType(java.lang.String contentType) |
void |
setModel(java.util.Map model) |
void |
setResourcePath(java.lang.String resourcePath) |
void |
setStatus(org.springframework.http.HttpStatus status) |
void |
setViewName(java.lang.String viewName) |
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() |
Groovy Documentation