- cache() - Method in interface ratpack.exec.Promise
-
Caches the promised value (or error) and returns it to all subscribers.
- cacheIf(Predicate<? super T>) - Method in interface ratpack.exec.Promise
-
Caches the promise value and provides it to all future subscribers, if it satisfies the predicate.
- cacheResultIf(Predicate<? super ExecResult<T>>) - Method in interface ratpack.exec.Promise
-
Caches the promise result and provides it to all future subscribers, if it satisfies the predicate.
- cacheSize(int) - Method in class ratpack.handlebars.HandlebarsModule.Config
-
- cast(Object) - Static method in class ratpack.util.Types
-
Simply casts the argument to T
.
- cause(Call<?>, Response<?>) - Static method in exception ratpack.retrofit.RatpackRetrofitCallException
-
- 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 is a write only builder for composing 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(Registry) - 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
-
Asserts that the version of Groovy on the classpath meets the minimum requirement for Ratpack.
- 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.session.Session
-
- clear() - Method in interface ratpack.session.SessionData
-
Remove all entries from the session data.
- clear() - Method in interface ratpack.util.MultiValueMap
-
- clearRegistry() - Method in interface ratpack.remote.CommandDelegate
-
- client(URI) - Static method in class ratpack.retrofit.RatpackRetrofit
-
Creates a new builder for creating Retrofit clients.
- client(String) - Static method in class ratpack.retrofit.RatpackRetrofit
-
Creates a new builder for creating Retrofit clients.
- 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.
- ClientSideSessionConfig - Class in ratpack.session.clientside
-
Client side session configuration.
- ClientSideSessionConfig() - Constructor for class ratpack.session.clientside.ClientSideSessionConfig
-
- ClientSideSessionModule - Class in ratpack.session.clientside
-
An extension module that provides a client side session store - cookie based.
- ClientSideSessionModule() - Constructor for class ratpack.session.clientside.ClientSideSessionModule
-
- close() - Method in interface ratpack.exec.ExecController
-
Shuts down this controller, terminating the event loop and blocking threads.
- close(AutoCloseable) - Method in interface ratpack.exec.Promise
-
Closes the given closeable when the value or error propagates to this point.
- close() - Method in interface ratpack.http.client.HttpClient
-
Closes any pooled connections.
- 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.embed.EphemeralBaseDir
-
Deletes the base dir from the file system.
- 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
-
- closeOnExit() - Method in interface ratpack.test.embed.EphemeralBaseDir
-
- 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.exec.Downstream
-
Signals that the upstream will not be providing a value, as it has terminated.
- complete() - Static method in interface ratpack.exec.ExecResult
-
Returns a complete exec result.
- complete() - Method in class ratpack.exec.util.Promised
-
Signals that the upstream will not be providing a value, as it has terminated.
- complete() - Method in interface ratpack.stream.WriteStream
-
Signals that the stream has completed and that no more items (or errors) are to come.
- completionHandler() - Method in interface ratpack.exec.Downstream
-
- compose(Function<? super T, ? extends I>) - Method in interface ratpack.func.Function
-
Joins the given function with this
function.
- 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.session.store.RedisSessionModule.Config
-
- Config(String, String, Integer) - Constructor for class ratpack.session.store.RedisSessionModule.Config
-
Convenience constructor most of the time not used if you are using Ratpack Config.
- Config() - Constructor for class ratpack.thymeleaf.ThymeleafModule.Config
-
- ConfigData - Interface in ratpack.config
-
Configuration data for the application, potentially built from many sources.
- ConfigDataBuilder - Interface in ratpack.config
-
Configures how configuration data will be loaded and bound to objects.
- ConfigObject<T> - Interface in ratpack.config
-
An object deserialized from config.
- 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.dropwizard.metrics.DropwizardMetricsModule
-
- 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.newrelic.NewRelicModule
-
- configure(Action<? super Retrofit.Builder>) - Method in class ratpack.retrofit.RatpackRetrofit.Builder
-
- configure() - Method in class ratpack.session.clientside.ClientSideSessionModule
-
- configure() - Method in class ratpack.session.SessionModule
-
- configure() - Method in class ratpack.session.store.RedisSessionModule
-
- configure() - Method in class ratpack.thymeleaf.ThymeleafModule
-
- configureObjectMapper(Action<ObjectMapper>) - Method in interface ratpack.config.ConfigDataBuilder
-
Configures the object mapper used for binding configuration data to arbitrary objects.
- configureObjectMapper(Action<ObjectMapper>) - Method in interface ratpack.server.ServerConfigBuilder
-
Configures the object mapper used for binding configuration data to arbitrary objects.
- connect(Downstream<? super T>) - Method in interface ratpack.exec.Promise
-
A low level hook for consuming the promised value.
- connect(Downstream<? super T>) - Method in interface ratpack.exec.Upstream
-
Connect the downstream.
- connect(Action<? super WebSocketSpec<T>>) - Method in interface ratpack.websocket.WebSocketConnector
-
- connectTimeout(Duration) - Method in interface ratpack.http.client.RequestSpec
-
Sets the socket connection timeout.
- connectTimeoutMillis(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The connect timeout of the channel.
- connectTimeoutSeconds(int) - Method in interface ratpack.http.client.RequestSpec
-
- console() - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
- console(Action<? super ConsoleConfig>) - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
Configure the console metrics publisher.
- ConsoleConfig - Class in ratpack.dropwizard.metrics
-
- ConsoleConfig() - Constructor for class ratpack.dropwizard.metrics.ConsoleConfig
-
- constant(T) - Static method in interface ratpack.func.Factory
-
Creates a factory that always returns the given item.
- 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
-
Sets the response Content-Type
header.
- contentTypeIfNotSet(Supplier<CharSequence>) - Method in interface ratpack.http.Response
-
- contentTypeIfNotSet(CharSequence) - Method in interface ratpack.http.Response
-
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 - Interface in ratpack.handling
-
The context of an individual
Handler
invocation.
- cookie(String, String) - Method in interface ratpack.http.Response
-
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.
- createConfig(ServerConfig) - Method in class ratpack.guice.ConfigurableModule
-
Creates the configuration object.
- createDataSource() - Method in class ratpack.h2.H2Module
-
- createImpositions() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
- createServer() - Method in class ratpack.test.MainClassApplicationUnderTest
-
Starts the Ratpack server by invoking the public static void main(String[])
method of the “main class” backing this object.
- createServer() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
Creates the server to be tested.
- createSupport(ApplicationUnderTest, String, UnserializableResultStrategy) - Static method in class ratpack.test.remote.RemoteControl
-
- Crypto - Interface in ratpack.session.clientside
-
- csv(Action<? super CsvConfig>) - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
Configure the csv metrics publisher.
- CsvConfig - Class in ratpack.dropwizard.metrics
-
- CsvConfig() - Constructor for class ratpack.dropwizard.metrics.CsvConfig
-
- 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.
- current() - Static method in interface ratpack.exec.Execution
-
Provides the currently executing execution.
- current() - Static method in class ratpack.impose.Impositions
-
The currently imposed impositions.
- curry(T) - Method in interface ratpack.func.Action
-
Creates a block that executes this action with the given value when called.