Class Markup

  • All Implemented Interfaces:
    Renderable

    public class Markup
    extends java.lang.Object
    implements 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​(Context context)
                    throws java.lang.Exception
        Description copied from interface: Renderable
        Render this object to the response.
        Specified by:
        render in interface Renderable
        Parameters:
        context - the request handling context
        Throws:
        java.lang.Exception - any