public class Markup
extends java.lang.Object
implements ratpack.render.Renderable
| Constructor and Description |
|---|
Markup(java.lang.CharSequence contentType,
java.nio.charset.Charset encoding,
Closure<?> definition) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence |
getContentType() |
Closure<?> |
getDefinition() |
java.nio.charset.Charset |
getEncoding() |
void |
render(ratpack.handling.Context context) |
public Markup(java.lang.CharSequence contentType,
java.nio.charset.Charset encoding,
Closure<?> definition)
public java.lang.CharSequence getContentType()
public java.nio.charset.Charset getEncoding()
public Closure<?> getDefinition()
public void render(ratpack.handling.Context context)
throws java.lang.Exception
render in interface ratpack.render.Renderablejava.lang.Exception