Uses of Interface
ratpack.server.RatpackServer
-
Packages that use RatpackServer 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.mock Support for creating mocks for remote APIs -
-
Uses of RatpackServer in ratpack.server
Methods in ratpack.server that return RatpackServer Modifier and Type Method Description static RatpackServerRatpackServer. of(Action<? super RatpackServerSpec> definition)Creates a new, unstarted, Ratpack server from the given definition.RatpackServerRatpackServer. reload()Reloads the server from its definition function.static RatpackServerRatpackServer. start(Action<? super RatpackServerSpec> definition)Methods in ratpack.server with parameters of type RatpackServer Modifier and Type Method Description static PublicAddressPublicAddress. 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 RatpackServerRatpackConfiguration.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 RatpackServerMainClassApplicationUnderTest. createServer()Starts the Ratpack server by invoking thepublic static void main(String[])method of the “main class” backing this object.protected abstract RatpackServerServerBackedApplicationUnderTest. createServer()Creates the server to be tested.Methods in ratpack.test with parameters of type RatpackServer Modifier and Type Method Description static ServerBackedApplicationUnderTestServerBackedApplicationUnderTest. 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 ServerBackedApplicationUnderTestServerBackedApplicationUnderTest. 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 RatpackServerEmbeddedApp. getServer()The server for the application.Methods in ratpack.test.embed with parameters of type RatpackServer Modifier and Type Method Description static EmbeddedAppEmbeddedApp. 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 EmbeddedAppEmbeddedApp. 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 RatpackServerMockApi. getServer()
-