@groovy.transform.CompileStatic class ServletRenderContext extends AbstractRenderContext
RenderContext for the servlet environment
Type | Name and description |
---|---|
java.util.Map<java.lang.String, java.lang.Object> |
arguments |
java.lang.String |
resourcePath |
java.lang.String |
viewName |
GrailsWebRequest |
webRequest |
Constructor and description |
---|
ServletRenderContext
(GrailsWebRequest webRequest) |
ServletRenderContext
(GrailsWebRequest webRequest, java.util.Map<java.lang.String, java.lang.Object> arguments) |
Type Params | Return Type | Name and description |
---|---|---|
|
MimeType |
getAcceptMimeType() |
|
java.lang.String |
getActionName() |
|
java.lang.String |
getControllerName() |
|
java.lang.String |
getControllerNamespace() |
|
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) |
|
boolean |
wasWrittenTo() |
Groovy Documentation