static EmbeddedApp |
EmbeddedApp.fromHandler(Handler handler) |
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler.
|
static EmbeddedApp |
EmbeddedApp.fromHandlerFactory(Function<? super Registry,? extends Handler> handlerFactory) |
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler.
|
static EmbeddedApp |
EmbeddedApp.fromHandlers(Action<? super Chain> action) |
Creates an embedded application with a default launch config (no base dir, ephemeral port) and the given handler chain.
|
static EmbeddedApp |
EmbeddedApp.fromServer(RatpackServer server) |
Creates an embedded application for the given server.
|
static EmbeddedApp |
EmbeddedApp.fromServer(ServerConfigBuilder serverConfig,
Action<? super RatpackServerSpec> definition) |
Creates an embedded application using the given server config, and server creating function.
|
static EmbeddedApp |
EmbeddedApp.fromServer(ServerConfig serverConfig,
Action<? super RatpackServerSpec> definition) |
Creates an embedded application using the given server config, and server creating function.
|
static EmbeddedApp |
EmbeddedApp.fromServer(Factory<? extends RatpackServer> server) |
Creates an embedded application for the given server.
|
static EmbeddedApp |
EmbeddedApp.of(Action<? super RatpackServerSpec> definition) |
Creates an embedded application from the given function.
|