*
* @param closure The closure to convert to a handler
* @return The created handler
*/
public static Handler groovyHandler(@DelegatesTo(value = GroovyContext.class, strategy = Closure.DELEGATE_FIRST) Closure<?> closure) {
return new ClosureBackedHandler(closure);
}