- cache() - Method in interface ratpack.exec.Promise
-
Caches the promised value (or error) and returns it to all subscribers.
- cacheSize(int) - Method in class ratpack.handlebars.HandlebarsModule.Config
-
- CachingFileSystemChecksumService - Class in ratpack.file
-
- CachingFileSystemChecksumService(FileSystemChecksumService) - Constructor for class ratpack.file.CachingFileSystemChecksumService
-
- cast(Object) - Static method in class ratpack.util.Types
-
Simply casts the argument to T
.
- chain(ServerConfig, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Builds a handler chain, with no backing registry.
- chain(ServerConfig, Registry, Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Builds a chain, backed by the given registry.
- chain(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 - 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(Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- chain(ServerConfig, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a handler chain, with no backing registry.
- chain(ServerConfig, Registry, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a chain, backed by the given registry.
- chain(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(Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Creates a chain action based on the given closure.
- check(ExecControl) - Method in interface ratpack.health.HealthCheck
-
Checks the health of the component, providing a promise for the result.
- checkGroovy() - Static method in class ratpack.groovy.Groovy.Script
-
- checksum(String) - Method in class ratpack.file.CachingFileSystemChecksumService
-
- checksum(String) - Method in interface ratpack.file.FileSystemChecksumService
-
Calculate checksum for file given by path
relative to server's baseDir
.
- childPath(String) - Method in interface ratpack.path.PathBinding
-
- chunkedJsonList(Registry, Publisher<T>) - Static method in class ratpack.jackson.Jackson
-
Renders a data stream as a JSON list, directly streaming the JSON.
- chunkedJsonList(ObjectWriter, Publisher<T>) - Static method in class ratpack.jackson.Jackson
-
Renders a data stream as a JSON list, directly streaming the JSON.
- 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.
- ClientSideSessionsModule - Class in ratpack.session.clientside
-
An extension module that provides a cookie based store for sessions.
- ClientSideSessionsModule() - Constructor for class ratpack.session.clientside.ClientSideSessionsModule
-
- ClientSideSessionsModule.Config - Class in ratpack.session.clientside
-
- close() - Method in interface ratpack.exec.ExecController
-
Shuts down this controller, terminating the event loop and blocking threads.
- close() - Method in interface ratpack.test.CloseableApplicationUnderTest
-
Shuts down the application under test.
- close() - Method in interface ratpack.test.embed.EmbeddedApp
-
- close() - Method in interface ratpack.test.exec.ExecHarness
-
Shuts down the thread pool backing this harness.
- close() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
- close() - Method in interface ratpack.websocket.WebSocket
-
- close(int, String) - Method in interface ratpack.websocket.WebSocket
-
- CloseableApplicationUnderTest - Interface in ratpack.test
-
An application under test that is able to be shut down.
- 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
-
- CodaHaleMetricsModule.Config - Class in ratpack.codahale.metrics
-
- CodaHaleMetricsModule.Config.Console - Class in ratpack.codahale.metrics
-
- CodaHaleMetricsModule.Config.Csv - Class in ratpack.codahale.metrics
-
- CodaHaleMetricsModule.Config.Jmx - Class in ratpack.codahale.metrics
-
- CodaHaleMetricsModule.Config.WebSocket - Class in ratpack.codahale.metrics
-
- command(Closure<?>) - Static method in class ratpack.test.remote.RemoteControl
-
- CommandDelegate - Interface in ratpack.remote
-
The delegate object for commands
- complete() - Method in interface ratpack.stream.WriteStream
-
Signals that the stream has completed and that no more items (or errors) are to come.
- compose(Function<? super T, ? extends I>) - Method in interface ratpack.func.Function
-
Joins the given function with this
function.
- Config() - Constructor for class ratpack.codahale.metrics.CodaHaleMetricsModule.Config
-
- Config() - Constructor for class ratpack.groovy.template.MarkupTemplateModule.Config
-
- Config() - Constructor for class ratpack.groovy.template.TextTemplateModule.Config
-
- Config() - Constructor for class ratpack.handlebars.HandlebarsModule.Config
-
- Config() - Constructor for class ratpack.hystrix.HystrixModule.Config
-
- Config() - Constructor for class ratpack.jackson.JacksonModule.Config
-
- Config() - Constructor for class ratpack.session.clientside.ClientSideSessionsModule.Config
-
- Config() - Constructor for class ratpack.thymeleaf.ThymeleafModule.Config
-
- ConfigData - Interface in ratpack.config
-
Configuration data for the application, potentially built from many sources.
- ConfigDataSpec - Interface in ratpack.config
-
Configures how configuration data will be loaded and bound to objects.
- ConfigSource - Interface in ratpack.config
-
Allows providing custom sources of configuration data.
- ConfigurableModule<T> - Class in ratpack.guice
-
Provides a standard approach for modules that require some parametrization / configuration.
- ConfigurableModule() - Constructor for class ratpack.guice.ConfigurableModule
-
- configure() - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
- configure() - Method in class ratpack.groovy.sql.SqlModule
-
- configure() - Method in class ratpack.groovy.template.MarkupTemplateModule
-
- configure() - Method in class ratpack.groovy.template.TextTemplateModule
-
- configure(Action<? super T>) - Method in class ratpack.guice.ConfigurableModule
-
Registers the configuration action.
- 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.hystrix.HystrixModule
-
- configure() - Method in class ratpack.jackson.JacksonModule
-
- configure() - Method in class ratpack.newrelic.NewRelicModule
-
- configure() - Method in class ratpack.session.clientside.ClientSideSessionsModule
-
- configure() - Method in class ratpack.session.SessionModule
-
- configure() - Method in class ratpack.session.store.MapSessionsModule
-
- configure() - Method in class ratpack.thymeleaf.ThymeleafModule
-
- configureObjectMapper(Action<ObjectMapper>) - Method in interface ratpack.config.ConfigDataSpec
-
Configures the object mapper used for binding configuration data to arbitrary objects.
- connect(Action<? super WebSocketSpec<T>>) - Method in interface ratpack.websocket.WebSocketConnector
-
- console() - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule.Config
-
- console(Action<? super CodaHaleMetricsModule.Config.Console>) - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule.Config
-
Configure the console metrics publisher.
- Console() - Constructor for class ratpack.codahale.metrics.CodaHaleMetricsModule.Config.Console
-
- constant(T) - Static method in interface ratpack.func.Function
-
- constant(T) - Static method in class ratpack.stream.Streams
-
Creates a new publisher, that indefinitely streams the given object to all subscribers.
- contains(CharSequence) - Method in interface ratpack.http.Headers
-
Checks whether a header has been specified for the given value.
- contains(String) - Method in interface ratpack.http.Headers
-
Checks whether a header has been specified for the given value.
- contentType(CharSequence) - Method in interface ratpack.http.Response
-
- contentType(CharSequence) - Method in interface ratpack.http.ResponseMetaData
-
Sets the response Content-Type
header.
- contentTypeIfNotSet(Supplier<CharSequence>) - Method in interface ratpack.http.Response
-
- contentTypeIfNotSet(CharSequence) - Method in interface ratpack.http.Response
-
- contentTypeIfNotSet(CharSequence) - Method in interface ratpack.http.ResponseMetaData
-
Sets the response Content-Type
header, if it has not already been set.
- 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.ResponseMetaData
-
Creates a new cookie with the given name and value.
- copy(Headers) - Method in interface ratpack.http.MutableHeaders
-
- create() - Method in interface ratpack.func.Factory
-
Creates a new object.
- create(Registry) - Method in interface ratpack.launch.HandlerFactory
-
Creates a handler from the given launch config.
- createConfig(ServerConfig) - Method in class ratpack.guice.ConfigurableModule
-
Creates the configuration object.
- createOverrides(Registry) - Method in class ratpack.test.MainClassApplicationUnderTest
-
- createServer() - Method in class ratpack.test.MainClassApplicationUnderTest
-
- createServer() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
- Crypto - Interface in ratpack.session.clientside
-
- csv(Action<? super CodaHaleMetricsModule.Config.Csv>) - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule.Config
-
Configure the csv metrics publisher.
- Csv() - Constructor for class ratpack.codahale.metrics.CodaHaleMetricsModule.Config.Csv
-
- current() - Static method in interface ratpack.exec.ExecControl
-
Provides the execution control bound to the current thread.
- current() - Static method in interface ratpack.exec.ExecController
-
Returns the execution controller bound to the current thread, if this is a Ratpack managed compute thread.