Package | Description |
---|---|
ratpack.groovy |
Support for writing Ratpack applications in the Groovy programming language.
|
Modifier and Type | Method and Description |
---|---|
static Template |
Groovy.groovyTemplate(Map<String,?> model,
String id)
Creates a
renderable Groovy based template, using the default content type. |
static Template |
Groovy.groovyTemplate(Map<String,?> model,
String id,
String type)
Creates a
renderable Groovy based template. |
static Template |
Groovy.groovyTemplate(String id)
Creates a
renderable Groovy based template, using no model and the default content type. |
static Template |
Groovy.groovyTemplate(String id,
String type)
Creates a
renderable Groovy based template, using no model. |