Uses of Interface
ratpack.core.server.RatpackServer
-
Packages that use RatpackServer Package Description ratpack.core.server Objects used to start a ratpack application.ratpack.spring.config ratpack.test Fixtures used for testing Ratpack applications (seeApplicationUnderTest
).ratpack.test.embed Support for creating embedded applications at test time, for testing Ratpack features and extensions.ratpack.test.mock Support for creating mocks for remote APIs. -
-
Uses of RatpackServer in ratpack.core.server
Methods in ratpack.core.server that return RatpackServer Modifier and Type Method 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)
Methods in ratpack.core.server with parameters of type RatpackServer Modifier and Type Method Description static PublicAddress
PublicAddress. bindAddress(RatpackServer server)
Uses the serves bind address as the current address. -
Uses of RatpackServer in ratpack.spring.config
Methods in ratpack.spring.config that return RatpackServer Modifier and Type Method Description RatpackServer
RatpackConfiguration.ServerConfiguration. ratpackServer(org.springframework.context.ApplicationContext context)
-
Uses of RatpackServer in ratpack.test
Methods in ratpack.test that return RatpackServer Modifier and Type Method Description protected RatpackServer
MainClassApplicationUnderTest. createServer()
Starts the Ratpack server by invoking thepublic static void main(String[])
method of the “main class” backing this object.protected abstract RatpackServer
ServerBackedApplicationUnderTest. createServer()
Creates the server to be tested.Methods in ratpack.test with parameters of type RatpackServer Modifier and Type Method Description static ServerBackedApplicationUnderTest
ServerBackedApplicationUnderTest. of(RatpackServer ratpackServer)
Creates a new instance backed by the given server.Method parameters in ratpack.test with type arguments of type RatpackServer Modifier and Type Method Description static ServerBackedApplicationUnderTest
ServerBackedApplicationUnderTest. of(Factory<? extends RatpackServer> ratpackServer)
Creates a new instance backed by the server returned by the given function. -
Uses of RatpackServer in ratpack.test.embed
Methods in ratpack.test.embed that return RatpackServer Modifier and Type Method Description RatpackServer
EmbeddedApp. getServer()
The server for the application.Methods in ratpack.test.embed with parameters of type RatpackServer Modifier and Type Method Description static EmbeddedApp
EmbeddedApp. fromServer(RatpackServer server)
Creates an embedded application for the given server.Method parameters in ratpack.test.embed with type arguments of type RatpackServer Modifier and Type Method Description static EmbeddedApp
EmbeddedApp. fromServer(Factory<? extends RatpackServer> server)
Creates an embedded application for the given server. -
Uses of RatpackServer in ratpack.test.mock
Methods in ratpack.test.mock that return RatpackServer Modifier and Type Method Description RatpackServer
MockApi. getServer()
-