Modifier and Type | Method and Description |
---|---|
void |
byContent(Closure<?> closure) |
void |
byMethod(Closure<?> closure) |
GroovyContext |
getContext()
Returns this.
|
void |
onClose(Closure<?> callback) |
background, clientError, error, file, getAllPathTokens, getBackground, getBindAddress, getByContent, getByMethod, getDirectChannelAccess, getForegroundExecutorService, getPathTokens, getRequest, getResponse, insert, insert, insert, insert, insert, lastModified, next, next, next, next, next, onClose, parse, redirect, redirect, render, respond, resultAction, withErrorHandling
GroovyContext getContext()
Context
getContext
in interface Context
void byMethod(@DelegatesTo(value=GroovyByMethodHandler.class) Closure<?> closure)
void byContent(@DelegatesTo(value=GroovyByContentHandler.class) Closure<?> closure)
void onClose(@DelegatesTo(value=RequestOutcome.class,strategy=1) Closure<?> callback)