@groovy.transform.InheritConstructors @groovy.transform.CompileStatic abstract class DefaultViewRenderer<T> extends DefaultHtmlRenderer<T>
A renderer implementation that looks up a view from the ViewResolver
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
MODEL_OBJECT |
|
private Renderer |
defaultRenderer |
|
private ProxyHandler |
proxyHandler |
|
private RendererRegistry |
rendererRegistry |
|
private SmartViewResolver |
viewResolver |
Type | Name and description |
---|---|
Renderer |
defaultRenderer |
ProxyHandler |
proxyHandler |
RendererRegistry |
rendererRegistry |
SmartViewResolver |
viewResolver |
Constructor and description |
---|
DefaultViewRenderer
(java.lang.Class<T> targetType, MimeType mimeType, SmartViewResolver viewResolver, ProxyHandler proxyHandler, RendererRegistry rendererRegistry, Renderer defaultRenderer) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
render(T object, RenderContext context) |
|
static java.lang.String |
templateNameForClass(java.lang.Class<?> cls) |
Groovy Documentation