Defines an Object that can convert an instance and render it to the response or a supplied writer.
Modifiers | Name | Description |
---|---|---|
enum |
Converter.CircularReferenceBehaviour |
Modifiers | Name | Description |
---|---|---|
java.lang.String |
DEFAULT_REQUEST_ENCODING |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
build(groovy.lang.Closure c) |
|
void |
convertAnother(java.lang.Object o) |
|
W |
getWriter() |
|
ObjectMarshaller<? extends Converter> |
lookupObjectMarshaller(java.lang.Object target) |
|
void |
render(java.io.Writer out) Marshalls the target and writes it to a java.io.Writer |
|
void |
render(javax.servlet.http.HttpServletResponse response) Marshalls the target and writes it a HttpServletResponse The response will be comitted after this operation |
Marshalls the target and writes it to a java.io.Writer
out
- The Writer to write toMarshalls the target and writes it a HttpServletResponse The response will be comitted after this operation
response
- The response to write to