- cache() - Method in interface ratpack.exec.PromiseOperations
-
Caches the promised value (or error) and returns it to all subscribers.
- CacheKey(TypeToken<T>, Predicate<? super T>) - Constructor for class ratpack.registry.PredicateCacheability.CacheKey
-
- 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(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 - 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(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(Closure<?>) - Static method in class ratpack.groovy.Groovy
-
Creates a chain action based on the given closure.
- CharSequenceRenderer - Interface in ratpack.render
-
- checksum(String) - Method in class ratpack.file.CachingFileSystemChecksumService
-
- checksum(String) - Method in interface ratpack.file.FileSystemChecksumService
-
- 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 interface ratpack.exec.ExecController
-
Shuts down this controller, terminating the event loop and blocking threads.
- 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
-
- 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
-
- compose(Function<? super T, ? extends I>) - Method in interface ratpack.func.Function
-
Joins the given function with this
function.
- COMPRESS_RESPONSES - Static variable in class ratpack.launch.LaunchConfigs.Property
-
Whether to compress responses.
- COMPRESSION_MIME_TYPE_BLACK_LIST - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The comma separated list of response mime types which should not be compressed.
- COMPRESSION_MIME_TYPE_WHITE_LIST - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The comma separated list of response mime types which should be compressed.
- COMPRESSION_MIN_SIZE - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The minimum size at which responses should be compressed, in bytes.
- compressionBlackListMimeTypes(String...) - Method in class ratpack.launch.LaunchConfigBuilder
-
Adds the given values as non-compressible mime types.
- compressionBlackListMimeTypes(List<String>) - Method in class ratpack.launch.LaunchConfigBuilder
-
Adds the given values as non-compressible mime types.
- compressionMinSize(long) - Method in class ratpack.launch.LaunchConfigBuilder
-
The minimum size at which responses should be compressed, in bytes.
- compressionWhiteListMimeTypes(String...) - Method in class ratpack.launch.LaunchConfigBuilder
-
Adds the given values as compressible mime types.
- compressionWhiteListMimeTypes(List<String>) - Method in class ratpack.launch.LaunchConfigBuilder
-
Adds the given values as compressible mime types.
- compressResponses(boolean) - Method in class ratpack.launch.LaunchConfigBuilder
-
Whether to compress responses.
- config(Class<T>, Consumer<? super T>) - Method in interface ratpack.groovy.guice.GroovyBindingsSpec
-
Retrieves the module that has been added with the given type for configuration.
- Config() - Constructor for class ratpack.groovy.markuptemplates.MarkupTemplatingModule.Config
-
- Config() - Constructor for class ratpack.groovy.templating.TemplatingModule.Config
-
- config(Class<T>, Consumer<? super T>) - Method in interface ratpack.guice.BindingsSpec
-
Retrieves the module that has been added with the given type for configuration.
- Config() - Constructor for class ratpack.session.store.CookieBasedSessionsModule.Config
-
- CONFIG_RESOURCE_DEFAULT - Static variable in class ratpack.launch.LaunchConfigs
-
- CONFIG_RESOURCE_PROPERTY - Static variable in class ratpack.launch.LaunchConfigs
-
- ConfigurableModule<T> - Class in ratpack.guice
-
Provides a standard approach for modules that require some parametrization / configuration.
- ConfigurableModule() - Constructor for class ratpack.guice.ConfigurableModule
-
- CONFIGURATION_CLASS - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The full qualified classname of the configuration class (optional).
- CONFIGURATION_FACTORY - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The full qualified classname of the configuration factory (optional).
- CONFIGURATION_FILE - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The path to the desired configuration file.
- configure() - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
- configure() - Method in class ratpack.groovy.markuptemplates.MarkupTemplatingModule
-
- configure() - Method in class ratpack.groovy.sql.SqlModule
-
- configure() - Method in class ratpack.groovy.templating.TemplatingModule
-
- 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.remote.RemoteControlModule
-
- configure() - Method in class ratpack.session.SessionModule
-
- configure() - Method in class ratpack.session.store.CookieBasedSessionsModule
-
- configure() - Method in class ratpack.session.store.MapSessionsModule
-
- configure() - Method in class ratpack.thymeleaf.ThymeleafModule
-
- connect(Action<? super WebSocketSpec<T>>) - Method in interface ratpack.websocket.WebSocketConnector
-
- console() - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
Enable the reporting of metrics to the Console.
- 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(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.
- CookieBasedSessionsModule - Class in ratpack.session.store
-
An extension module that provides a cookie based store for sessions.
- CookieBasedSessionsModule() - Constructor for class ratpack.session.store.CookieBasedSessionsModule
-
- CookieBasedSessionsModule.Config - Class in ratpack.session.store
-
- copy(Headers) - Method in interface ratpack.http.MutableHeaders
-
- create() - Method in interface ratpack.func.Factory
-
Creates a new object.
- create(LaunchConfig) - Method in class ratpack.groovy.launch.GroovyScriptFileHandlerFactory
-
- create(Action<? super BindingsSpec>, Function<? super Module, ? extends Injector>, Function<? 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
-
- createConfig(LaunchConfig) - Method in class ratpack.guice.ConfigurableModule
-
Creates the configuration object.
- 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, Properties, Properties, Registry) - 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
-
- 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.
- Crypto - Interface in ratpack.session
-
- csv(File) - Method in class ratpack.codahale.metrics.CodaHaleMetricsModule
-
Enable the reporting of metrics to a CSV file.
- 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.