- data(Function<? super T, String>) - Method in interface ratpack.sse.Event
-
Sets the “data” value of the event to the return value of the given function.
- data(String) - Method in interface ratpack.sse.Event
-
Specify the event data for the server sent event.
- dataSource(HikariConfig) - Method in class ratpack.hikari.HikariModule
-
- decompressResponse(boolean) - Method in interface ratpack.http.client.RequestSpec
-
Enables automatic decompression of the response.
- decorate(Registry, Handler) - Method in interface ratpack.handling.HandlerDecorator
-
Creates a new handler that decorates the application handlers, given as the rest
argument.
- decorate(Context, T) - Method in interface ratpack.render.RenderableDecorator
-
Decorates the given object on its way to being rendered.
- decorator() - Static method in class ratpack.handling.ResponseTimer
-
Creates a handler decorator that prepends a response timer to the rest of the handlers.
- decrypt(ByteBuf, ByteBufAllocator) - Method in interface ratpack.session.clientside.Crypto
-
- DEFAULT_APP_PATH - Static variable in class ratpack.groovy.Groovy.Script
-
- DEFAULT_AUTHENTICATOR_PATH - Static variable in class ratpack.pac4j.RatpackPac4j
-
- DEFAULT_BASE_DIR_MARKER_FILE_PATH - Static variable in interface ratpack.server.ServerConfig.Builder
-
The default name for the base dir sentinel properties file.
- DEFAULT_BINDINGS_PATH - Static variable in class ratpack.groovy.Groovy.Script
-
- DEFAULT_ENV_PREFIX - Static variable in interface ratpack.server.ServerConfig.Builder
-
- DEFAULT_HANDLERS_PATH - Static variable in class ratpack.groovy.Groovy.Script
-
- DEFAULT_INTERVAL - Static variable in class ratpack.codahale.metrics.CodaHaleMetricsModule.Config
-
- DEFAULT_INTERVAL - Static variable in class ratpack.hystrix.HystrixModule.Config
-
- DEFAULT_MAX_CONTENT_LENGTH - Static variable in interface ratpack.server.ServerConfig
-
The default max content length.
- DEFAULT_NAME_TOKEN - Static variable in class ratpack.health.HealthCheckHandler
-
The default path token name that indicates the individual health check to run.
- DEFAULT_PORT - Static variable in interface ratpack.server.ServerConfig
-
The default port for Ratpack applications, 5050.
- DEFAULT_PROP_PREFIX - Static variable in interface ratpack.server.ServerConfig.Builder
-
- DEFAULT_REMOTE_CONTROL_PATH - Static variable in class ratpack.remote.RemoteControl
-
- DEFAULT_TEMPLATE_MODE - Static variable in class ratpack.thymeleaf.ThymeleafModule
-
- DEFAULT_TEMPLATE_PREFIX - Static variable in class ratpack.thymeleaf.ThymeleafModule
-
- DEFAULT_TEMPLATE_SUFFIX - Static variable in class ratpack.thymeleaf.ThymeleafModule
-
- DEFAULT_THREADS - Static variable in interface ratpack.server.ServerConfig
-
The default number of threads an application should use.
- defaultConfig(ServerConfig, MarkupTemplateModule.Config) - Method in class ratpack.groovy.template.MarkupTemplateModule
-
- defaultConfig(ServerConfig, T) - Method in class ratpack.guice.ConfigurableModule
-
- defer(Action<? super Runnable>) - Method in interface ratpack.exec.Promise
-
Allows the execution of the promise to be deferred to a later time.
- delete(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the
relative path
matches the given path
and the request
HTTPMethod
is DELETE
.
- delete(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a Handler
to this GroovyChain
that delegates to the given Closure
as a Handler
if the request
HTTPMethod
is DELETE
and the path
is at the current root.
- delete(String, Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is DELETE
.
- delete(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- delete(Handler) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is DELETE
and the path
is at the current root.
- delete(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- delete(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of DELETE.
- delete(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the relative path
matches the given path
and the request
HTTPMethod
is DELETE
.
- delete(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- delete(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request
HTTPMethod
is DELETE
and the path
is at the current root.
- delete(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- delete() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is DELETE, otherwise raises a 405 client error.
- delete() - Method in interface ratpack.test.http.TestHttpClient
-
Make a DELETE request with a path of "" this is the same as calling delete("")
- delete(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a DELETE request to the specified path.
- deleteText() - Method in interface ratpack.test.http.TestHttpClient
-
- deleteText(String) - Method in interface ratpack.test.http.TestHttpClient
-
- deserialize(Class<T>, InputStream) - Method in interface ratpack.session.SessionSerializer
-
Reads the bytes of the given input stream, creating a new object.
- development(boolean) - Method in interface ratpack.server.ServerConfig.Builder
-
Whether or not the application is "development".
- dir(String) - Method in interface ratpack.file.FileHandlerSpec
-
Specifies the file system path to the files.
- dir(File) - Static method in interface ratpack.test.embed.BaseDirBuilder
-
- dir(String) - Method in interface ratpack.test.embed.BaseDirBuilder
-
Creates a directory at the given path within the base dir.
- DirectChannelAccess - Interface in ratpack.handling.direct
-
Provides direct access to the underlying Netty
Channel
.
- domain(String) - Method in class ratpack.session.SessionCookieConfig
-
Set the domain
for session cookie.
- DoubleTransmissionException - Exception in ratpack.handling
-
- DoubleTransmissionException(String) - Constructor for exception ratpack.handling.DoubleTransmissionException
-
- Downstream<T> - Interface in ratpack.exec
-
A consumer of a single asynchronous value.