Package | Description |
---|---|
ratpack.server |
Objects used to start a ratpack application.
|
ratpack.spring.config | |
ratpack.test | |
ratpack.test.embed |
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
|
ratpack.test.http |
Modifier and Type | Method and Description |
---|---|
static RatpackServer |
RatpackServer.of(Action<? super RatpackServerSpec> definition)
Creates a new, unstarted, Ratpack server from the given definition.
|
RatpackServer |
RatpackServer.reload()
Reloads the server from its definition function.
|
static RatpackServer |
RatpackServer.start(Action<? super RatpackServerSpec> definition)
|
Modifier and Type | Method and Description |
---|---|
RatpackServer |
RatpackConfiguration.ServerConfiguration.ratpackServer(ApplicationContext context) |
Modifier and Type | Method and Description |
---|---|
protected RatpackServer |
MainClassApplicationUnderTest.createServer() |
protected abstract RatpackServer |
ServerBackedApplicationUnderTest.createServer() |
Modifier and Type | Method and Description |
---|---|
static CloseableApplicationUnderTest |
ApplicationUnderTest.of(RatpackServer ratpackServer) |
Modifier and Type | Method and Description |
---|---|
static CloseableApplicationUnderTest |
ApplicationUnderTest.of(Factory<? extends RatpackServer> ratpackServer) |
Modifier and Type | Method and Description |
---|---|
RatpackServer |
EmbeddedApp.getServer()
The server for the application.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedApp |
EmbeddedApp.fromServer(RatpackServer server)
Creates an embedded application for the given server.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedApp |
EmbeddedApp.fromServer(Factory<? extends RatpackServer> server)
Creates an embedded application for the given server.
|
Modifier and Type | Method and Description |
---|---|
static TestHttpClient |
TestHttpClient.testHttpClient(RatpackServer server) |
Modifier and Type | Method and Description |
---|---|
static TestHttpClient |
TestHttpClient.testHttpClient(Factory<? extends RatpackServer> server) |