public interface Converter<W>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Converter.CircularReferenceBehaviour |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_REQUEST_ENCODING |
| Modifier and Type | Method 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(javax.servlet.http.HttpServletResponse response)
Marshalls the target and writes it a HttpServletResponse
The response will be comitted after this operation
|
void |
render(java.io.Writer out)
Marshalls the target and writes it to a java.io.Writer
|
static final java.lang.String DEFAULT_REQUEST_ENCODING
void render(java.io.Writer out)
throws ConverterException
out - The Writer to write toConverterExceptionvoid render(javax.servlet.http.HttpServletResponse response)
throws ConverterException
response - The response to write toConverterExceptionW getWriter() throws ConverterException
ConverterExceptionvoid convertAnother(java.lang.Object o)
throws ConverterException
ConverterExceptionvoid build(groovy.lang.Closure c)
throws ConverterException
ConverterExceptionObjectMarshaller<? extends Converter> lookupObjectMarshaller(java.lang.Object target)