| Package | Description |
|---|---|
| ratpack.groovy.test.embed |
Support for creating Groovy based embedded applications.
|
| Modifier and Type | Method and Description |
|---|---|
static GroovyEmbeddedApp |
GroovyEmbeddedApp.from(EmbeddedApp embeddedApp) |
static GroovyEmbeddedApp |
GroovyEmbeddedApp.fromHandler(Closure<?> handler) |
static GroovyEmbeddedApp |
GroovyEmbeddedApp.fromHandlers(Closure<?> handlers) |
static GroovyEmbeddedApp |
GroovyEmbeddedApp.fromServer(ServerConfigBuilder serverConfig,
Closure<?> definition) |
static GroovyEmbeddedApp |
GroovyEmbeddedApp.fromServer(ServerConfig serverConfig,
Closure<?> definition) |
static GroovyEmbeddedApp |
GroovyEmbeddedApp.of(Closure<?> definition)
Groovy version of
EmbeddedApp.of(Action) that accepts Closure to configure the application. |
static GroovyEmbeddedApp |
GroovyEmbeddedApp.ratpack(Closure<?> script)
Creates an
EmbeddedApp from the provided closure delegating to Groovy.Ratpack. |