public class Markup extends Object implements Renderable
Constructor and Description |
---|
Markup(CharSequence contentType,
Charset encoding,
Closure<?> definition) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getContentType() |
Closure<?> |
getDefinition() |
Charset |
getEncoding() |
void |
render(Context context)
Render this object to the response.
|
public Markup(CharSequence contentType, Charset encoding, Closure<?> definition)
public CharSequence getContentType()
public Charset getEncoding()
public Closure<?> getDefinition()
public void render(Context context) throws Exception
Renderable
render
in interface Renderable
context
- the request handling contextException
- any