A B C D E F G H I J K L M N O P R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
D
- data(byte[]) - Method in interface ratpack.test.http.MultipartFileSpec
-
Specify the file contents
- data(String) - Method in interface ratpack.core.sse.ServerSentEventBuilder
-
Specify the event data for the server sent event.
- data(String) - Method in interface ratpack.test.http.MultipartFileSpec
-
Specify the file contents
- dataSource(DataSource) - Static method in interface ratpack.jdbctx.Transaction
-
Decorates the given data source to be
Transaction
aware. - dataSource(HikariService) - Method in class ratpack.hikari.HikariModule
- decodingErrorLevel(DecodingErrorLevel) - Method in interface ratpack.core.server.ServerConfigBuilder
-
Configures how to emit messages associated with errors when decoding incoming requests.
- DecodingErrorLevel - Enum in ratpack.core.server
-
Specifies how messages related to request decoding are handled in the log output.
- decompressResponse(boolean) - Method in interface ratpack.core.http.client.RequestSpec
-
Enables automatic decompression of the response.
- decorate(Context, T) - Method in interface ratpack.core.render.RenderableDecorator
-
Decorates the given object on its way to being rendered.
- decorate(Registry, Handler) - Method in interface ratpack.core.handling.HandlerDecorator
-
Creates a new handler that decorates the application handlers, given as the
rest
argument. - decorator() - Static method in class ratpack.core.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_BASE_DIR_MARKER_FILE_PATH - Static variable in class ratpack.core.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_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.core.server.ServerConfig
-
The default maximum chunk size to use when reading request/response bodies.
- DEFAULT_MAX_CONTENT_LENGTH - Static variable in interface ratpack.core.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.core.server.ServerConfig
-
The default maximum header size to use when reading requests.
- DEFAULT_MAX_INITIAL_LINE_LENGTH - Static variable in interface ratpack.core.server.ServerConfig
-
The default maximum initial line length to use when reading requests.
- DEFAULT_MAX_REDIRECTS - Static variable in interface ratpack.core.http.client.RequestSpec
-
The default number of redirects to follow automatically.
- DEFAULT_NAME_TOKEN - Static variable in class ratpack.core.health.HealthCheckHandler
-
The default path token name that indicates the individual health check to run.
- DEFAULT_PORT - Static variable in interface ratpack.core.server.ServerConfig
-
The default port for Ratpack applications, 5050.
- DEFAULT_PROP_PREFIX - Static variable in interface ratpack.config.ConfigDataBuilder
- DEFAULT_TEMPLATE_MODE - Static variable in class ratpack.thymeleaf3.ThymeleafModule
- DEFAULT_TEMPLATE_PREFIX - Static variable in class ratpack.thymeleaf3.ThymeleafModule
- DEFAULT_TEMPLATE_SUFFIX - Static variable in class ratpack.thymeleaf3.ThymeleafModule
- DEFAULT_THREADS - Static variable in interface ratpack.core.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
-
Hook for applying any default configuration to the configuration object created by
ConfigurableModule.createConfig(ServerConfig)
. - defaultEnvironment() - Static method in interface ratpack.config.Environment
- DefaultGroovyByContentSpec - Class in ratpack.groovy.handling
- DefaultGroovyByContentSpec(ByContentSpec) - Constructor for class ratpack.groovy.handling.DefaultGroovyByContentSpec
- defer(Duration) - Method in interface ratpack.exec.Promise
-
Defers the subscription of
this
promise for the given duration. - defer(Action<? super Runnable>) - Method in interface ratpack.exec.Promise
-
Defers the subscription of
this
promise until later. - define(ServiceDependenciesSpec) - Method in interface ratpack.core.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() - Method in class ratpack.exec.util.retry.DurationRetryPolicy
-
Promise that returns the waiting time before retrying.
- delay() - Method in interface ratpack.exec.util.retry.RetryPolicy
-
Promise that returns the waiting time before retrying.
- 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(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(Delay) - Method in interface ratpack.exec.util.retry.AttemptRetryPolicyBuilder
-
The delay strategy.
- delay(Delay) - Method in interface ratpack.exec.util.retry.DurationRetryPolicyBuilder
-
The delay strategy.
- Delay - Interface in ratpack.exec.util.retry
-
A strategy object to model delays between retries.
- delete() - Static method in class ratpack.core.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.core.http.client.RequestSpec
-
Specifies to use the DELETE request 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(Closure<?>) - 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.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if therequest
HTTPMethod
isDELETE
and thepath
is at the current root. - delete(Class<? extends Handler>) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- 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(Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- delete(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a DELETE request to the specified path.
- delete(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
Adds a
Handler
to thisGroovyChain
that delegates to the givenClosure
as aHandler
if the relativepath
matches the givenpath
and therequest
HTTPMethod
isDELETE
. - delete(String, Class<? extends Handler>) - Method in interface ratpack.core.handling.Chain
- delete(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyChain
- delete(String, Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the relative
path
matches the givenpath
and therequest
HTTPMethod
isDELETE
. - 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 givenpath
and therequest
HTTPMethod
isDELETE
. - delete(Handler) - Method in interface ratpack.core.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(Handler) - Method in interface ratpack.core.handling.Chain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isDELETE
and thepath
is at the current root. - delete(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.GroovyChain
-
Adds a handler that delegates to the given handler if the
request
HTTPMethod
isDELETE
and thepath
is at the current root. - delete(Block) - Method in interface ratpack.core.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of DELETE.
- 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 - Static variable in interface ratpack.core.http.HttpMethod
-
The DELETE method.
- deleteText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a DELETE request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - deleteText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a DELETE request then calling
ReceivedResponse.getBody()
thenTypedData.getText()
. - delimiters(String, String) - Method in class ratpack.handlebars.HandlebarsModule.Config
- dependsOn(Class<?>, Class<?>) - Method in interface ratpack.core.service.ServiceDependenciesSpec
-
A convenience form of
ServiceDependenciesSpec.dependsOn(Predicate, Predicate)
where the predicates are based on compatibility with the given types. - dependsOn(Class<T1>, Predicate<? super T1>, Class<T2>, Predicate<? super T2>) - Method in interface ratpack.core.service.ServiceDependenciesSpec
-
Specifies that all services that are of the given
dependentsType
that match thedependents
predicate are dependent on all services that are of thedependenciesType
that match thedependencies
predicate. - dependsOn(Predicate<? super Service>, Predicate<? super Service>) - Method in interface ratpack.core.service.ServiceDependenciesSpec
-
Specifies that all services that match the
dependents
predicate are dependent on all services that match thedependencies
predicate. - DependsOn - Annotation Type in ratpack.core.service
-
Declares the other service types that services of the annotated type depend on.
- deserialize(Class<T>, InputStream) - Method in interface ratpack.session.SessionSerializer
-
Deprecated.since 1.9
- deserialize(Class<T>, InputStream, SessionTypeFilter) - Method in class ratpack.session.serialization.kryo.KryoSessionSerializer
- deserialize(Class<T>, InputStream, SessionTypeFilter) - 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.core.server.ServerConfigBuilder
-
Whether or not the application is "development".
- DEVELOPMENT_PROPERTY - Static variable in class ratpack.func.Utils
- dir(File) - Static method in interface ratpack.test.embed.EphemeralBaseDir
-
Creates a new base dir, using the given dir as the root.
- dir(String) - Method in interface ratpack.core.file.FileHandlerSpec
-
Specifies the file system path to the files.
- dir(Path) - Static method in interface ratpack.test.embed.EphemeralBaseDir
-
Creates a new base dir, using the given dir as the root.
- DirectChannelAccess - Interface in ratpack.core.handling.direct
-
Provides direct access to the underlying Netty
Channel
. - discardReadBytes() - Method in class ratpack.core.bytebuf.ByteBufRef
- discardSomeReadBytes() - Method in class ratpack.core.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
-
The configuration object for
DropwizardMetricsModule
. - 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.core.bytebuf.ByteBufRef
- DurationRetryPolicy - Class in ratpack.exec.util.retry
-
A duration based implementation of
RetryPolicy
. - DurationRetryPolicy(Delay, Duration, Clock) - Constructor for class ratpack.exec.util.retry.DurationRetryPolicy
- DurationRetryPolicyBuilder - Interface in ratpack.exec.util.retry
-
Builds a
DurationRetryPolicy
. - 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.
All Classes All Packages