|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface RenderContext
Passed to a renderer to provide context information
Method Summary | |
---|---|
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
|
getArguments()
@return Arguments passed by the user |
java.lang.String
|
getControllerName()
@return The current controller name |
java.util.List
|
getExcludes()
Which properties should be excluded from rendering |
org.springframework.http.HttpMethod
|
getHttpMethod()
@return The HTTP method |
java.util.List
|
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 |
Method Detail |
---|
MimeType getAcceptMimeType()
java.lang.String getActionName()
java.util.Map getArguments()
java.lang.String getControllerName()
java.util.List getExcludes()
org.springframework.http.HttpMethod getHttpMethod()
java.util.List getIncludes()
java.util.Locale getLocale()
java.lang.String getResourcePath()
java.lang.String getViewName()
java.io.Writer getWriter()
void setContentType(java.lang.String contentType)
contentType
- The content type
void setModel(java.util.Map model)
model
- The model
void setStatus(org.springframework.http.HttpStatus status)
status
- The status to set
void setViewName(java.lang.String viewName)
viewName
- The view name
Groovy Documentation