public interface GroovyRatpackServerSpec
extends ratpack.server.RatpackServerSpec
| Modifier and Type | Method and Description |
|---|---|
static GroovyRatpackServerSpec |
from(ratpack.server.RatpackServerSpec spec) |
GroovyRatpackServerSpec |
handler(ratpack.func.Function<? super ratpack.registry.Registry,? extends ratpack.handling.Handler> handlerFactory) |
default GroovyRatpackServerSpec |
handlers(Closure<?> handlers) |
GroovyRatpackServerSpec |
registry(ratpack.func.Function<? super ratpack.registry.Registry,? extends ratpack.registry.Registry> function) |
default GroovyRatpackServerSpec |
registryOf(Closure<?> action) |
GroovyRatpackServerSpec |
serverConfig(ratpack.func.Action<? super ratpack.server.ServerConfigBuilder> action) |
default GroovyRatpackServerSpec |
serverConfig(Closure<?> action) |
GroovyRatpackServerSpec |
serverConfig(ratpack.server.ServerConfig serverConfig) |
static GroovyRatpackServerSpec from(ratpack.server.RatpackServerSpec spec)
default GroovyRatpackServerSpec handlers(@DelegatesTo(value=GroovyChain.class,strategy=1) Closure<?> handlers)
GroovyRatpackServerSpec handler(ratpack.func.Function<? super ratpack.registry.Registry,? extends ratpack.handling.Handler> handlerFactory)
handler in interface ratpack.server.RatpackServerSpecGroovyRatpackServerSpec registry(ratpack.func.Function<? super ratpack.registry.Registry,? extends ratpack.registry.Registry> function)
registry in interface ratpack.server.RatpackServerSpecGroovyRatpackServerSpec serverConfig(ratpack.server.ServerConfig serverConfig)
serverConfig in interface ratpack.server.RatpackServerSpecGroovyRatpackServerSpec serverConfig(ratpack.func.Action<? super ratpack.server.ServerConfigBuilder> action) throws java.lang.Exception
serverConfig in interface ratpack.server.RatpackServerSpecjava.lang.Exceptiondefault GroovyRatpackServerSpec serverConfig(@DelegatesTo(value=ratpack.server.ServerConfigBuilder.class,strategy=1) Closure<?> action) throws java.lang.Exception
java.lang.Exceptiondefault GroovyRatpackServerSpec registryOf(@DelegatesTo(value=ratpack.registry.RegistrySpec.class,strategy=1) Closure<?> action) throws java.lang.Exception
java.lang.Exception