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