- 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.
- data(byte[]) - Method in interface ratpack.test.http.MultipartFileSpec
-
Specify the file contents
- data(String) - Method in interface ratpack.test.http.MultipartFileSpec
-
Specify the file contents
- dataSource(HikariService) - Method in class ratpack.hikari.HikariModule
-
- dataSource(DataSource) - Static method in interface ratpack.jdbctx.Transaction
-
Decorates the given data source to be
Transaction
aware.
- 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
-
Deprecated.
- 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_CLOCK - Static variable in interface ratpack.exec.util.retry.DurationRetryPolicyBuilder
-
There should be no reasons for changing this on production code.
- DEFAULT_DELAY - Static variable in interface ratpack.exec.util.retry.AttemptRetryPolicyBuilder
-
By default, retries will wait 1 second between executions.
- DEFAULT_DELAY - Static variable in interface ratpack.exec.util.retry.DurationRetryPolicyBuilder
-
By default, retries will wait 1 second between executions.
- 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_ATTEMPTS - Static variable in interface ratpack.exec.util.retry.AttemptRetryPolicyBuilder
-
By default, this retry policy will give up after the fifth retry attempt.
- 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_DURATION - Static variable in interface ratpack.exec.util.retry.DurationRetryPolicyBuilder
-
By default, this retry policy will give up after 30 seconds since the first error occurrence.
- 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
-
Deprecated.
- DEFAULT_TEMPLATE_PREFIX - Static variable in class ratpack.thymeleaf.ThymeleafModule
-
Deprecated.
- DEFAULT_TEMPLATE_SUFFIX - Static variable in class ratpack.thymeleaf.ThymeleafModule
-
Deprecated.
- 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
-
- DefaultGroovyByContentSpec - Class in ratpack.groovy.handling
-
- DefaultGroovyByContentSpec(ByContentSpec) - Constructor for class ratpack.groovy.handling.DefaultGroovyByContentSpec
-
- defer(Action<? super Runnable>) - Method in interface ratpack.exec.Promise
-
Defers the subscription of this
promise until later.
- defer(Duration) - Method in interface ratpack.exec.Promise
-
Defers the subscription of this
promise for the given duration.
- define(ServiceDependenciesSpec) - Method in interface ratpack.service.ServiceDependencies
-
Declares service depenencies via the given spec.
- delay() - Method in class ratpack.exec.util.retry.AttemptRetryPolicy
-
Promise that returns the waiting time before retrying.
- delay(Delay) - Method in interface ratpack.exec.util.retry.AttemptRetryPolicyBuilder
-
The delay strategy
- Delay - Interface in ratpack.exec.util.retry
-
A strategy object to model delays between retries.
- delay(Integer) - Method in interface ratpack.exec.util.retry.Delay
-
Builds a promise wrapping a duration that will instruct the caller how long to wait between retries.
- delay() - Method in class ratpack.exec.util.retry.DurationRetryPolicy
-
Promise that returns the waiting time before retrying.
- delay(Delay) - Method in interface ratpack.exec.util.retry.DurationRetryPolicyBuilder
-
The delay strategy.
- delay(Integer) - Method in class ratpack.exec.util.retry.FixedDelay
-
Builds a promise wrapping a duration that will instruct the caller how long to wait between retries.
- delay(Integer) - Method in class ratpack.exec.util.retry.IndexedDelay
-
Builds a promise wrapping a duration that will instruct the caller how long to wait between retries.
- delay() - Method in interface ratpack.exec.util.retry.RetryPolicy
-
Promise that returns the waiting time before retrying.
- delete(Block) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Defines the action to to take if the request has a HTTP method of DELETE.
- delete(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(Handler) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- 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(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain 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.
- destroy() - Method in class ratpack.spring.config.RatpackConfiguration
-
- detail(boolean) - Method in class ratpack.dropwizard.metrics.ByteBufAllocatorConfig
-
Set the state of detailed metric collectrion for the ByteBufAllocator
metric collector.
- 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.
- discardReadBytes() - Method in class ratpack.bytebuf.ByteBufRef
-
- discardSomeReadBytes() - Method in class ratpack.bytebuf.ByteBufRef
-
- 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
-
- duplicate() - Method in class ratpack.bytebuf.ByteBufRef
-
- DurationRetryPolicy - Class in ratpack.exec.util.retry
-
- DurationRetryPolicy(Delay, Duration, Clock) - Constructor for class ratpack.exec.util.retry.DurationRetryPolicy
-
- DurationRetryPolicyBuilder - Interface in ratpack.exec.util.retry
-
- 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.