Class Markup

  • All Implemented Interfaces:
    ratpack.render.Renderable

    public class Markup
    extends java.lang.Object
    implements ratpack.render.Renderable
    • Constructor Summary

      Constructors 
      Constructor Description
      Markup​(java.lang.CharSequence contentType, java.nio.charset.Charset encoding, Closure<?> definition)  
    • 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 interface ratpack.render.Renderable
        Throws:
        java.lang.Exception