Uses of Interface
ratpack.server.ServerConfig
-
Packages that use ServerConfig Package Description ratpack.groovy Support for writing Ratpack applications in the Groovy programming language.ratpack.groovy.handling Groovy specific extensions to classes in theratpack.handlingpackage.ratpack.groovy.server Groovy implementations of the Ratpack server building classes.ratpack.groovy.template Support for templating based on embedded Groovy code in text.ratpack.groovy.test.embed Support for creating Groovy based embedded applications.ratpack.guice Integration with Google Guice.ratpack.handling The handling of application requests.ratpack.http.client The HTTP client.ratpack.server Objects used to start a ratpack application.ratpack.spring.config ratpack.test.embed Support for creating embedded applications at test time, for testing Ratpack features and extensions. -
-
Uses of ServerConfig in ratpack.groovy
Methods in ratpack.groovy with parameters of type ServerConfig Modifier and Type Method Description static HandlerGroovy. chain(ServerConfig serverConfig, Closure<?> closure)Builds a handler chain, with no backing registry.static HandlerGroovy. chain(ServerConfig serverConfig, Registry registry, Closure<?> closure)Builds a chain, backed by the given registry. -
Uses of ServerConfig in ratpack.groovy.handling
Methods in ratpack.groovy.handling that return ServerConfig Modifier and Type Method Description ServerConfigGroovyChainAction. getServerConfig()The server config of the application that this chain is being created for. -
Uses of ServerConfig in ratpack.groovy.server
Methods in ratpack.groovy.server with parameters of type ServerConfig Modifier and Type Method Description GroovyRatpackServerSpecGroovyRatpackServerSpec. serverConfig(ServerConfig serverConfig) -
Uses of ServerConfig in ratpack.groovy.template
Methods in ratpack.groovy.template with parameters of type ServerConfig Modifier and Type Method Description protected voidMarkupTemplateModule. defaultConfig(ServerConfig serverConfig, MarkupTemplateModule.Config config) -
Uses of ServerConfig in ratpack.groovy.test.embed
Methods in ratpack.groovy.test.embed with parameters of type ServerConfig Modifier and Type Method Description static GroovyEmbeddedAppGroovyEmbeddedApp. fromServer(ServerConfig serverConfig, Closure<?> definition) -
Uses of ServerConfig in ratpack.guice
Methods in ratpack.guice that return ServerConfig Modifier and Type Method Description ServerConfigBindingsSpec. getServerConfig()The launch config for the application.Methods in ratpack.guice with parameters of type ServerConfig Modifier and Type Method Description protected TConfigurableModule. createConfig(ServerConfig serverConfig)Creates the configuration object.protected voidConfigurableModule. defaultConfig(ServerConfig serverConfig, T config)Hook for applying any default configuration to the configuration object created byConfigurableModule.createConfig(ServerConfig).static Function<Module,Injector>Guice. newInjectorFactory(ServerConfig serverConfig) -
Uses of ServerConfig in ratpack.handling
Methods in ratpack.handling that return ServerConfig Modifier and Type Method Description ServerConfigChain. getServerConfig()The server config of the application that this chain is being created for.ServerConfigContext. getServerConfig()The server configuration for the application.Methods in ratpack.handling with parameters of type ServerConfig Modifier and Type Method Description static HandlerHandlers. chain(ServerConfig serverConfig, Action<? super Chain> action)Builds a handler chain, with no backing registry.static HandlerHandlers. chain(ServerConfig serverConfig, Registry registry, Action<? super Chain> action)Builds a chain, backed by the given registry.static HandlerHandlers. files(ServerConfig serverConfig, Action<? super FileHandlerSpec> config)Creates a handler that serves files from the file system.static HandlerHandlers. fileSystem(ServerConfig serverConfig, java.lang.String path, Handler handler)A handlers that changes theFileSystemBindingfor the given handlers. -
Uses of ServerConfig in ratpack.http.client
Methods in ratpack.http.client with parameters of type ServerConfig Modifier and Type Method Description static HttpClientHttpClient. httpClient(ServerConfig serverConfig, Registry registry)Deprecated.since 1.4, useHttpClient.of(Action) -
Uses of ServerConfig in ratpack.server
Fields in ratpack.server with type parameters of type ServerConfig Modifier and Type Field Description static com.google.common.reflect.TypeToken<ServerConfig>ServerConfig. TYPEA type token for this type.Methods in ratpack.server that return ServerConfig Modifier and Type Method Description ServerConfigServerConfigBuilder. build()Builds the server config.static ServerConfigServerConfig. of(Action<? super ServerConfigBuilder> action)Methods in ratpack.server with parameters of type ServerConfig Modifier and Type Method Description RatpackServerSpecRatpackServerSpec. serverConfig(ServerConfig serverConfig)Sets the server configuration for the application. -
Uses of ServerConfig in ratpack.spring.config
Methods in ratpack.spring.config that return ServerConfig Modifier and Type Method Description ServerConfigRatpackConfiguration.ServerConfigConfiguration. ratpackServerConfig() -
Uses of ServerConfig in ratpack.test.embed
Methods in ratpack.test.embed with parameters of type ServerConfig Modifier and Type Method Description static EmbeddedAppEmbeddedApp. fromServer(ServerConfig serverConfig, Action<? super RatpackServerSpec> definition)Creates an embedded application using the given server config, and server creating function.
-