- 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(HikariService) - 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
-
"ratpack.groovy"
- DEFAULT_AUTHENTICATOR_PATH - Static variable in class ratpack.pac4j.RatpackPac4j
-
- DEFAULT_BASE_DIR_MARKER_FILE_PATH - Static variable in class ratpack.server.BaseDir
-
The default name for the base dir sentinel properties file.
- DEFAULT_BINDINGS_PATH - Static variable in class ratpack.groovy.Groovy.Script
-
"bindings.groovy"
- DEFAULT_ENV_PREFIX - Static variable in interface ratpack.config.ConfigDataBuilder
-
- DEFAULT_HANDLERS_PATH - Static variable in class ratpack.groovy.Groovy.Script
-
"handlers.groovy"
- DEFAULT_INTERVAL - Static variable in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
- DEFAULT_INTERVAL - Static variable in class ratpack.hystrix.HystrixModule.Config
-
- DEFAULT_MAX_CHUNK_SIZE - Static variable in interface ratpack.server.ServerConfig
-
The default maximum chunk size to use when reading request/response bodies.
- DEFAULT_MAX_CONTENT_LENGTH - Static variable in interface ratpack.server.ServerConfig
-
The default max content length.
- DEFAULT_MAX_HEADER_SIZE - Static variable in interface ratpack.server.ServerConfig
-
The default maximum header size to use when reading requests.
- DEFAULT_MAX_INITIAL_LINE_LENGTH - Static variable in interface ratpack.server.ServerConfig
-
The default maximum initial line length to use when reading requests.
- DEFAULT_MAX_REDIRECTS - Static variable in interface ratpack.http.client.RequestSpec
-
The default number of redirects to follow automatically.
- 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.config.ConfigDataBuilder
-
- 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.
- define(ServiceDependenciesSpec) - Method in interface ratpack.service.ServiceDependencies
-
Declares service depenencies via the given spec.
- 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.http.client.RequestSpec
-
Specifies to use the DELETE request method.
- DELETE - Static variable in interface ratpack.http.HttpMethod
-
The DELETE method.
- 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
-
- delimiters(String, String) - Method in class ratpack.handlebars.HandlebarsModule.Config
-
- DependsOn - Annotation Type in ratpack.service
-
Declares the other service types that services of the annotated type depend on.
- dependsOn(Predicate<? super Service>, Predicate<? super Service>) - Method in interface ratpack.service.ServiceDependenciesSpec
-
Specifies that all services that match the dependents
predicate are dependent on all services that match the dependencies
predicate.
- dependsOn(Class<T1>, Predicate<? super T1>, Class<T2>, Predicate<? super T2>) - Method in interface ratpack.service.ServiceDependenciesSpec
-
Specifies that all services that are of the given dependentsType
that match the dependents
predicate are dependent on all services that are of the dependenciesType
that match the dependencies
predicate.
- dependsOn(Class<?>, Class<?>) - Method in interface ratpack.service.ServiceDependenciesSpec
-
- 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.ServerConfigBuilder
-
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.EphemeralBaseDir
-
Creates a new base dir, using the given dir as the root.
- DirectChannelAccess - Interface in ratpack.handling.direct
-
Provides direct access to the underlying Netty
Channel
.
- disable() - Method in class ratpack.dropwizard.metrics.GraphiteConfig
-
Disable the Graphite publisher.
- domain(String) - Method in class ratpack.session.SessionCookieConfig
-
Set the domain
for session cookie.
- Downstream<T> - Interface in ratpack.exec
-
A consumer of a single asynchronous value.
- DropwizardMetricsConfig - Class in ratpack.dropwizard.metrics
-
- DropwizardMetricsConfig() - Constructor for class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
- DropwizardMetricsModule - Class in ratpack.dropwizard.metrics
-
An extension module that provides support for Dropwizard Metrics.
- DropwizardMetricsModule() - Constructor for class ratpack.dropwizard.metrics.DropwizardMetricsModule
-
- durationUnit(TimeUnit) - Method in class ratpack.dropwizard.metrics.GraphiteConfig
-
Convert durations to the given time unit.
- durationUnit(TimeUnit) - Method in class ratpack.dropwizard.metrics.Slf4jConfig
-
Convert durations to the given time unit.