@CompileStatic class ServletRenderContext extends AbstractRenderContext
RenderContext for the servlet environment
Type | Name and description |
---|---|
Map<String, Object> |
arguments |
String |
resourcePath |
String |
viewName |
GrailsWebRequest |
webRequest |
Properties inherited from class | Properties |
---|---|
class AbstractRenderContext |
arguments, excludes, includes |
Constructor and description |
---|
ServletRenderContext(GrailsWebRequest webRequest) |
ServletRenderContext(GrailsWebRequest webRequest, Map<String, Object> arguments) |
Type Params | Return Type | Name and description |
---|---|---|
|
MimeType |
getAcceptMimeType() |
|
String |
getActionName() |
|
String |
getControllerName() |
|
String |
getControllerNamespace() |
|
String |
getDefaultViewName() |
|
HttpMethod |
getHttpMethod() |
|
Locale |
getLocale() |
|
protected ModelAndView |
getModelAndView() |
|
String |
getResourcePath() |
|
String |
getViewName() |
|
Writer |
getWriter() |
|
void |
setContentType(String contentType) |
|
void |
setModel(Map model) |
|
void |
setResourcePath(String resourcePath) |
|
void |
setStatus(HttpStatus status) |
|
void |
setViewName(String viewName) |
|
boolean |
wasWrittenTo() |