Package | Description |
---|---|
ratpack.groovy.launch | |
ratpack.launch |
Classes used to bootstrap a Ratpack application.
|
ratpack.test.embed |
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
|
Modifier and Type | Class and Description |
---|---|
class |
GroovyScriptFileHandlerFactory |
Modifier and Type | Method and Description |
---|---|
HandlerFactory |
LaunchConfig.getHandlerFactory()
The handler factory that can create the root handler for the application.
|
Modifier and Type | Method and Description |
---|---|
LaunchConfig |
LaunchConfigBuilder.build(HandlerFactory handlerFactory)
Builds the launch config, based on the current state and the handler factory.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedApp |
EmbeddedApp.fromHandlerFactory(HandlerFactory handlerFactory)
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler.
|
static EmbeddedApp |
EmbeddedApp.fromHandlerFactory(Path baseDir,
HandlerFactory handlerFactory)
Creates an embedded application with a default launch config (ephemeral port) and the given handler.
|