Package ratpack.groovy.handling
Class GroovyHandler
- java.lang.Object
-
- ratpack.groovy.handling.GroovyHandler
-
- All Implemented Interfaces:
ratpack.handling.Handler
public abstract class GroovyHandler extends java.lang.Object implements ratpack.handling.Handler
A handler subclass that makes aGroovyContext
available.
-
-
Constructor Summary
Constructors Constructor Description GroovyHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
handle(GroovyContext context)
The handle method to implement.void
handle(ratpack.handling.Context context)
Delegates tohandle(GroovyContext)
.
-
-
-
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 tohandle(GroovyContext)
.- Specified by:
handle
in interfaceratpack.handling.Handler
- Parameters:
context
- The context
-
-