Package | Description |
---|---|
ratpack.launch |
Classes used to bootstrap a Ratpack application.
|
ratpack.server |
Objects used to start a ratpack application.
|
ratpack.test | |
ratpack.test.embed |
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
|
Modifier and Type | Method and Description |
---|---|
RatpackServer |
RatpackMain.server(Properties overrideProperties,
Properties defaultProperties)
Builds a server by calling
LaunchConfigFactory.createFromGlobalProperties(ClassLoader, java.util.Properties, java.util.Properties) . |
Modifier and Type | Method and Description |
---|---|
static RatpackServer |
RatpackServerBuilder.build(LaunchConfig launchConfig)
Constructs a new server based on the builder's state.
|
Modifier and Type | Method and Description |
---|---|
RatpackServer |
RatpackMainServerFactory.create() |
Constructor and Description |
---|
ServerBackedApplicationUnderTest(Factory<RatpackServer> serverFactory) |
Modifier and Type | Method and Description |
---|---|
protected abstract RatpackServer |
EmbeddedApplicationSupport.createServer()
Subclass implementation hook for creating the server implementation.
|
protected RatpackServer |
LaunchConfigEmbeddedApplication.createServer()
Creates a server using
RatpackServerBuilder.build(LaunchConfig) , using the launch config returned by LaunchConfigEmbeddedApplication.createLaunchConfig() . |
RatpackServer |
EmbeddedApplication.getServer()
The server for the application.
|
RatpackServer |
EmbeddedApplicationSupport.getServer()
The server.
|