| Package | Description |
|---|---|
| ratpack.groovy.handling |
Groovy specific extensions to classes in the
ratpack.handling package. |
| ratpack.groovy.render |
Specialised Groovy support for rendering.
|
| Modifier and Type | Method and Description |
|---|---|
static GroovyContext |
GroovyContext.from(Context ctx)
Creates a Groovy context from a context.
|
GroovyContext |
GroovyContext.getContext()
Returns this.
|
default GroovyContext |
GroovyContext.header(java.lang.CharSequence name,
java.lang.Object... values)
Sets a response header.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
GroovyHandler.handle(GroovyContext context)
The handle method to implement.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
GroovyRendererSupport.render(GroovyContext context,
T object)
Renders the given object to the context.
|