| Package | Description |
|---|---|
| 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.
|
| ratpack.test.http |
| Modifier and Type | Method and Description |
|---|---|
static RatpackServer |
RatpackServer.of(Function<? super RatpackServer.Definition.Builder,? extends RatpackServer.Definition> definition)
Creates a new, unstarted, Ratpack server from the given function.
|
RatpackServer |
RatpackServer.reload()
Reloads the server from its definition function.
|
| 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) |