@groovy.transform.CompileStatic class DefaultJsonRenderer<T> extends java.lang.Object implements Renderer<T>
Default renderer for JSON
Type | Name and description |
---|---|
java.lang.String |
encoding |
org.springframework.http.HttpStatus |
errorsHttpStatus |
org.grails.web.gsp.io.GrailsConventionGroovyPageLocator |
groovyPageLocator |
MimeType[] |
mimeTypes |
java.lang.String |
namedConfiguration |
RendererRegistry |
rendererRegistry |
java.lang.Class<T> |
targetType |
Constructor and description |
---|
DefaultJsonRenderer
(java.lang.Class<T> targetType) |
DefaultJsonRenderer
(java.lang.Class<T> targetType, MimeType[] mimeTypes) |
DefaultJsonRenderer
(java.lang.Class<T> targetType, org.grails.web.gsp.io.GrailsConventionGroovyPageLocator groovyPageLocator) |
DefaultJsonRenderer
(java.lang.Class<T> targetType, org.grails.web.gsp.io.GrailsConventionGroovyPageLocator groovyPageLocator, RendererRegistry rendererRegistry) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
render(T object, org.radeox.api.engine.context.RenderContext context) |
|
protected void |
renderJson(T object, org.radeox.api.engine.context.RenderContext context) Subclasses should override to customize JSON response rendering |
|
protected void |
renderJson(grails.converters.JSON converter, org.radeox.api.engine.context.RenderContext context) |
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() |
Subclasses should override to customize JSON response rendering
Groovy Documentation