Uses of Interface
ratpack.core.server.ServerConfig
-
Packages that use ServerConfig Package Description ratpack.core.handling The handling of application requests.ratpack.core.server Objects used to start a ratpack application.ratpack.groovy Support for writing Ratpack applications in the Groovy programming language.ratpack.groovy.handling Groovy specific extensions to classes in theratpack.core.handling
package.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.spring.config ratpack.test.embed Support for creating embedded applications at test time, for testing Ratpack features and extensions. -
-
Uses of ServerConfig in ratpack.core.handling
Methods in ratpack.core.handling that return ServerConfig Modifier and Type Method Description ServerConfig
Chain. getServerConfig()
The server config of the application that this chain is being created for.ServerConfig
Context. getServerConfig()
The server configuration for the application.Methods in ratpack.core.handling with parameters of type ServerConfig Modifier and Type Method Description static Handler
Handlers. chain(ServerConfig serverConfig, Registry registry, Action<? super Chain> action)
Builds a chain, backed by the given registry.static Handler
Handlers. chain(ServerConfig serverConfig, Action<? super Chain> action)
Builds a handler chain, with no backing registry.static Handler
Handlers. files(ServerConfig serverConfig, Action<? super FileHandlerSpec> config)
Creates a handler that serves files from the file system.static Handler
Handlers. fileSystem(ServerConfig serverConfig, String path, Handler handler)
A handlers that changes theFileSystemBinding
for the given handlers. -
Uses of ServerConfig in ratpack.core.server
Fields in ratpack.core.server with type parameters of type ServerConfig Modifier and Type Field Description static com.google.common.reflect.TypeToken<ServerConfig>
ServerConfig. TYPE
A type token for this type.Methods in ratpack.core.server that return ServerConfig Modifier and Type Method Description ServerConfig
ServerConfigBuilder. build()
Builds the server config.static ServerConfig
ServerConfig. of(Action<? super ServerConfigBuilder> action)
Methods in ratpack.core.server with parameters of type ServerConfig Modifier and Type Method Description RatpackServerSpec
RatpackServerSpec. serverConfig(ServerConfig serverConfig)
Sets the server configuration for the application. -
Uses of ServerConfig in ratpack.groovy
Methods in ratpack.groovy with parameters of type ServerConfig Modifier and Type Method Description static Handler
Groovy. chain(ServerConfig serverConfig, Closure<?> closure)
Builds a handler chain, with no backing registry.static Handler
Groovy. 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 ServerConfig
GroovyChainAction. 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 GroovyRatpackServerSpec
GroovyRatpackServerSpec. 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 void
MarkupTemplateModule. 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 GroovyEmbeddedApp
GroovyEmbeddedApp. fromServer(ServerConfig serverConfig, Closure<?> definition)
-
Uses of ServerConfig in ratpack.guice
Methods in ratpack.guice that return ServerConfig Modifier and Type Method Description ServerConfig
BindingsSpec. getServerConfig()
The launch config for the application.Methods in ratpack.guice with parameters of type ServerConfig Modifier and Type Method Description protected T
ConfigurableModule. createConfig(ServerConfig serverConfig)
Creates the configuration object.protected void
ConfigurableModule. defaultConfig(ServerConfig serverConfig, T config)
Hook for applying any default configuration to the configuration object created byConfigurableModule.createConfig(ServerConfig)
.static Function<com.google.inject.Module,com.google.inject.Injector>
Guice. newInjectorFactory(ServerConfig serverConfig)
-
Uses of ServerConfig in ratpack.spring.config
Methods in ratpack.spring.config that return ServerConfig Modifier and Type Method Description ServerConfig
RatpackConfiguration.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 EmbeddedApp
EmbeddedApp. fromServer(ServerConfig serverConfig, Action<? super RatpackServerSpec> definition)
Creates an embedded application using the given server config, and server creating function.
-