Additional API extensions provided to controllers via the converters plugin.
Type | Name and description |
---|---|
void |
jsonHeader(java.lang.Object controller, java.lang.Object value) Used to render out X-JSON header |
void |
render(java.lang.Object controller, Converter converter) Method used to render out converted responses. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Used to render out X-JSON header
controller
- The controllervalue
- the valueMethod used to render out converted responses. Used for render foo as XML
controller
- The controllerconverter
- The converter instance