@groovy.transform.CompileStatic class DefaultHtmlRenderer<T> extends java.lang.Object implements Renderer<T>
A default renderer for HTML that returns an appropriate model
Modifiers | Name | Description |
---|---|---|
protected MimeType[] |
mimeTypes |
|
private ProxyHandler |
proxyHandler |
|
private java.lang.String |
suffix |
|
protected java.lang.Class<T> |
targetType |
Type | Name and description |
---|---|
ProxyHandler |
proxyHandler |
java.lang.String |
suffix |
Constructor and description |
---|
DefaultHtmlRenderer
(java.lang.Class<T> targetType) |
DefaultHtmlRenderer
(java.lang.Class<T> targetType, MimeType mimeType) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
applyModel(RenderContext context, java.lang.Object object) |
|
MimeType[] |
getMimeTypes() |
|
java.lang.Class<T> |
getTargetType() |
|
void |
render(java.lang.Object object, RenderContext context) |
|
protected java.lang.String |
resolveModelVariableName(java.lang.Object object) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |
Groovy Documentation