public static interface Groovy.Ratpack
Groovy.ratpack(groovy.lang.Closure)| Modifier and Type | Method and Description |
|---|---|
void |
handlers(Closure<?> configurer)
Registers the closure used to build the handler chain of the application.
|
void |
modules(Closure<?> configurer)
Registers the closure used to configure the
GroovyModuleRegistry that will back the application. |
void modules(@DelegatesTo(value=GroovyModuleRegistry.class,strategy=1) Closure<?> configurer)
GroovyModuleRegistry that will back the application.configurer - The configuration closure, delegating to GroovyModuleRegistryvoid handlers(@DelegatesTo(value=GroovyChain.class,strategy=1) Closure<?> configurer)
configurer - The configuration closure, delegating to GroovyChain