Class GroovyHandler

  • All Implemented Interfaces:
    ratpack.handling.Handler

    public abstract class GroovyHandler
    extends java.lang.Object
    implements ratpack.handling.Handler
    A handler subclass that makes a GroovyContext available.
    • Constructor Detail

      • GroovyHandler

        public GroovyHandler()
    • Method Detail

      • handle

        protected abstract void handle​(GroovyContext context)
        The handle method to implement.
        Parameters:
        context - The context
      • handle

        public final void handle​(ratpack.handling.Context context)
        Delegates to handle(GroovyContext).
        Specified by:
        handle in interface ratpack.handling.Handler
        Parameters:
        context - The context