Passed to a renderer to provide context information
| Type Params | Return Type | Name and description |
|---|---|---|
|
MimeType |
getAcceptMimeType()@return Returns the mime type accepted by the client or null if non specified |
|
java.lang.String |
getActionName()@return The current action name |
|
java.util.Map<java.lang.String, java.lang.Object> |
getArguments()@return Arguments passed by the user |
|
java.lang.String |
getControllerName()@return The current controller name |
|
java.lang.String |
getControllerNamespace()@return The current controller name |
|
java.util.List<java.lang.String> |
getExcludes()Which properties should be excluded from rendering |
|
org.springframework.http.HttpMethod |
getHttpMethod()@return The HTTP method |
|
java.util.List<java.lang.String> |
getIncludes()Which properties should be included in rendering |
|
java.util.Locale |
getLocale()@return The locale |
|
java.lang.String |
getResourcePath()@return The path the the resource |
|
java.lang.String |
getViewName()@return The view name to use |
|
java.io.Writer |
getWriter()@return The writer to render to |
|
void |
setContentType(java.lang.String contentType)Sets the content type of the rendered response |
|
void |
setModel(java.util.Map model)The model to use for the response |
|
void |
setStatus(org.springframework.http.HttpStatus status)@param status The status to set |
|
void |
setViewName(java.lang.String viewName)The view to use for the response |
|
boolean |
wasWrittenTo()Returns true if the getWriter() method was called |
Which properties should be excluded from rendering
Which properties should be included in rendering
Sets the content type of the rendered response
contentType - The content typeThe model to use for the response
model - The model
status - The status to setThe view to use for the response
viewName - The view nameReturns true if the getWriter() method was called