Package ratpack.groovy.template
Class Markup
- java.lang.Object
-
- ratpack.groovy.template.Markup
-
- All Implemented Interfaces:
ratpack.render.Renderable
public class Markup extends java.lang.Object implements ratpack.render.Renderable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequence
getContentType()
Closure<?>
getDefinition()
java.nio.charset.Charset
getEncoding()
void
render(ratpack.handling.Context context)
-
-
-
Constructor Detail
-
Markup
public Markup(java.lang.CharSequence contentType, java.nio.charset.Charset encoding, Closure<?> definition)
-
-
Method Detail
-
getContentType
public java.lang.CharSequence getContentType()
-
getEncoding
public java.nio.charset.Charset getEncoding()
-
getDefinition
public Closure<?> getDefinition()
-
render
public void render(ratpack.handling.Context context) throws java.lang.Exception
- Specified by:
render
in interfaceratpack.render.Renderable
- Throws:
java.lang.Exception
-
-