- chain(LaunchConfig, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Builds a handler chain, with no backing registry.
- chain(LaunchConfig, Registry, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Builds a chain, backed by the given registry.
- chain(Chain, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Immediately executes the given
closure
against the given
chain
, as a
GroovyChain
.
- chain(Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Creates a chain action implementation from the given closure.
- chain(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Creates a handler from the given closure.
- chain(Action<? super Chain>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- chain(Closure<?>) - Method in class ratpack.groovy.handling.GroovyChainAction
-
- Chain - Interface in ratpack.handling
-
A chain can be used to build a linked series of handlers.
- chain(Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Constructs a handler using the given action to define a chain.
- chain(Action<? super Chain>) - Method in class ratpack.handling.ChainAction
-
- chain(LaunchConfig, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a handler chain, with no backing registry.
- chain(LaunchConfig, Registry, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a chain, backed by the given registry.
- chain(List<? extends Handler>) - Static method in class ratpack.handling.Handlers
-
Creates a handler chain from the given handlers.
- chain(Handler...) - Static method in class ratpack.handling.Handlers
-
Creates a handler chain from the given handlers.
- ChainAction - Class in ratpack.handling
-
Convenient super class for packaging up Groovy handler chain logic.
- ChainAction() - Constructor for class ratpack.handling.ChainAction
-
- CharSequenceRenderer - Interface in ratpack.render
-
- childInjectorFactory(Injector) - Static method in class ratpack.guice.Guice
-
Creates a transformer that can build an injector from a module, as a child of the given parent.
- childPath(String) - Method in interface ratpack.path.PathBinding
-
- clear() - Method in interface ratpack.http.MutableHeaders
-
Removes all headers from this message.
- clear() - Method in interface ratpack.util.MultiValueMap
-
- clearRegistry() - Method in interface ratpack.remote.CommandDelegate
-
- clientError(int) - Method in interface ratpack.handling.Context
-
- clientError(int) - Static method in class ratpack.handling.Handlers
-
- ClientErrorHandler - Interface in ratpack.error
-
The client error handler deals with errors that are due to the client doing something wrong.
- close() - Method in class ratpack.test.embed.EmbeddedApplicationSupport
-
- close() - Method in class ratpack.test.embed.PathBaseDirBuilder
-
If the path backing this build is not from the default file system, its file system will be
closed.
- close() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
- close() - Method in interface ratpack.websocket.WebSocket
-
- ClosureBackedEmbeddedApplication - Class in ratpack.groovy.test.embed
-
A highly configurable
EmbeddedApplication
implementation that allows the application to be defined in code at runtime.
- ClosureBackedEmbeddedApplication() - Constructor for class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Constructor.
- ClosureBackedEmbeddedApplication(Factory<Path>) - Constructor for class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Constructor.
- ClosureBackedEmbeddedApplication(BaseDirBuilder) - Constructor for class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Constructor.
- CodaHaleMetricsModule - Class in ratpack.codahale.metrics
-
An extension module that provides support for Coda Hale's Metrics.
- CodaHaleMetricsModule() - Constructor for class ratpack.codahale.metrics.CodaHaleMetricsModule
-
- command(Closure<?>) - Static method in class ratpack.test.remote.RemoteControl
-
- CommandDelegate - Interface in ratpack.remote
-
The delegate object for commands
- COMPILE_STATIC_PROPERTY_DEFAULT - Static variable in class ratpack.groovy.launch.GroovyScriptFileHandlerFactory
-
- COMPILE_STATIC_PROPERTY_NAME - Static variable in class ratpack.groovy.launch.GroovyScriptFileHandlerFactory
-
- COMPRESS_RESPONSES - Static variable in class ratpack.launch.LaunchConfigs.Property
-
Whether to compress responses.
- compressResponses(boolean) - Method in class ratpack.launch.LaunchConfigBuilder
-
Whether to compress responses.
- CONFIG_RESOURCE_DEFAULT - Static variable in class ratpack.launch.LaunchConfigs
-
- CONFIG_RESOURCE_PROPERTY - Static variable in class ratpack.launch.LaunchConfigs
-
- configure() - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
- configure() - Method in class ratpack.groovy.sql.SqlModule
-
- configure() - Method in class ratpack.groovy.templating.TemplatingModule
-
- configure() - Method in class ratpack.h2.H2Module
-
- configure() - Method in class ratpack.handlebars.HandlebarsModule
-
- configure() - Method in class ratpack.hikari.HikariModule
-
- configure() - Method in class ratpack.jackson.JacksonModule
-
- configure() - Method in class ratpack.newrelic.NewRelicModule
-
- configure() - Method in class ratpack.remote.RemoteControlModule
-
- configure() - Method in class ratpack.session.SessionModule
-
- configure() - Method in class ratpack.session.store.MapSessionsModule
-
- configure() - Method in class ratpack.thymeleaf.ThymeleafModule
-
- connect() - Method in interface ratpack.websocket.WebSocketBuilder
-
- console() - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
Enable the reporting of metrics to the Console.
- contains(String) - Method in interface ratpack.http.Headers
-
Checks whether a header has been specified for the given value.
- contentType(String) - Method in interface ratpack.http.Response
-
Sets the response Content-Type
header.
- contentTypes(String...) - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the content type of the request is one of the given types, otherwise raises a 415 client error.
- context(Context) - Static method in class ratpack.groovy.Groovy
-
Creates a specialized Groovy context.
- Context - Interface in ratpack.handling
-
The context of an individual
Handler
invocation.
- ContextualException - Interface in ratpack.error
-
A marker interface to indicate that if an exception has a cause, it is merely providing service.
- cookie(String, String) - Method in interface ratpack.http.Response
-
Creates a new cookie with the given name and value.
- create() - Method in interface ratpack.func.Factory
-
Creates a new object.
- create(LaunchConfig) - Method in class ratpack.groovy.launch.GroovyScriptFileHandlerFactory
-
- create(Action<? super ModuleRegistry>, Transformer<? super Module, ? extends Injector>, Transformer<? super Injector, ? extends Handler>) - Method in interface ratpack.guice.GuiceBackedHandlerFactory
-
- create(LaunchConfig) - Method in interface ratpack.launch.HandlerFactory
-
Creates a handler from the given launch config.
- create() - Method in class ratpack.test.RatpackMainServerFactory
-
- createFromFile(ClassLoader, Path, Path, Properties, Properties) - Static method in class ratpack.launch.LaunchConfigs
-
- createFromGlobalProperties(ClassLoader, Properties, Properties) - Static method in class ratpack.launch.LaunchConfigs
-
- createFromGlobalProperties(ClassLoader, String, Properties, Properties) - Static method in class ratpack.launch.LaunchConfigs
-
- createFromProperties(ClassLoader, Properties, Properties) - Static method in class ratpack.launch.LaunchConfigs
-
- createHandlerFactory(LaunchConfig) - Method in class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Returns the factory to use to create the actual handler.
- createHandlerTransformer(LaunchConfig) - Method in class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Provides the object that, given the
Injector
created by the module definition, creates the application handler.
- createInjectorFactory(LaunchConfig) - Method in class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Creates a module to injector transformer based on the given launch config.
- createLaunchConfig() - Method in class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Constructs the launch config using the other create*
methods.
- createLaunchConfig() - Method in class ratpack.test.embed.LaunchConfigEmbeddedApplication
-
Creates a launch config that defines the application.
- createModulesAction() - Method in class ratpack.groovy.test.embed.ClosureBackedEmbeddedApplication
-
Provides the module registry configuration action.
- createRequest() - Method in interface ratpack.groovy.test.TestHttpClient
-
- createServer() - Method in class ratpack.test.embed.EmbeddedApplicationSupport
-
Subclass implementation hook for creating the server implementation.
- createServer() - Method in class ratpack.test.embed.LaunchConfigEmbeddedApplication
-
- createWithBaseDir(ClassLoader, Path, Properties) - Static method in class ratpack.launch.LaunchConfigs
-
- createWithBaseDir(ClassLoader, Path, Properties, Map<String, String>) - Static method in class ratpack.launch.LaunchConfigs
-
Constructs a launch config, based on the given properties and environment variables.
- csv(File) - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
Enable the reporting of metrics to a CSV file.