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
T
- take(long) - Method in interface ratpack.exec.stream.TransformablePublisher
- take(long, Publisher<T>) - Static method in class ratpack.exec.stream.Streams
-
Returns a publisher that emits only the first
n
elements from the given publisher, wheren
is the given count. - takeOwnership(Action<Object>) - Method in interface ratpack.core.handling.direct.DirectChannelAccess
-
Signals that Ratpack should no longer manage this channel.
- takeWhile(Predicate<T>) - Method in interface ratpack.exec.stream.TransformablePublisher
- takeWhile(Predicate<T>, Publisher<T>) - Static method in class ratpack.exec.stream.Streams
-
Returns a publisher that emits elements from the given publisher, while the
condition
is true. - Template - Class in ratpack.handlebars
- Template - Class in ratpack.thymeleaf3
- templatesMode(String) - Method in class ratpack.thymeleaf3.ThymeleafModule.Config
-
Sets the mode for templates.
- templatesPath(String) - Method in class ratpack.handlebars.HandlebarsModule.Config
- templatesPrefix(String) - Method in class ratpack.thymeleaf3.ThymeleafModule.Config
-
Sets the prefix for templates.
- templatesSuffix(String) - Method in class ratpack.handlebars.HandlebarsModule.Config
- templateSuffix(String) - Method in class ratpack.thymeleaf3.ThymeleafModule.Config
-
Sets the suffix for templates.
- TEMPORARY_REDIRECT - Static variable in interface ratpack.core.http.Status
-
The 307 status code.
- terminate() - Method in interface ratpack.session.Session
-
Terminates the session and session id.
- terminate() - Method in interface ratpack.session.SessionData
-
See
Session.terminate()
. - terminate() - Method in interface ratpack.session.SessionId
-
Terminate the current session id, disassociating it from the current user.
- test(Closure<?>) - Method in interface ratpack.groovy.test.embed.GroovyEmbeddedApp
- test(Action<? super TestHttpClient>) - Method in interface ratpack.test.CloseableApplicationUnderTest
-
Provides the given action with a
test http client
for this application, then closes this application. - testHttpClient(ApplicationUnderTest) - Static method in interface ratpack.test.http.TestHttpClient
-
A method to create an instance of the default implementation of TestHttpClient.
- testHttpClient(ApplicationUnderTest, Action<? super RequestSpec>) - Static method in interface ratpack.test.http.TestHttpClient
-
A method to create an instance of the default implementation of TestHttpClient.
- TestHttpClient - Interface in ratpack.test.http
-
A Http Client focused on testing Ratpack applications.
- text(CharSequence) - Method in interface ratpack.core.http.client.RequestSpec.Body
-
Specifies the request body as a UTF-8 char sequence.
- text(CharSequence, Charset) - Method in interface ratpack.core.http.client.RequestSpec.Body
-
Specifies the request body as a char sequence of the given charset.
- TEXT_HTML - Static variable in interface ratpack.core.http.MediaType
-
"text/html".
- TextTemplate - Class in ratpack.groovy.template
- TextTemplate(Map<String, ?>, String, String) - Constructor for class ratpack.groovy.template.TextTemplate
- TextTemplateModel - Interface in ratpack.groovy.template
- TextTemplateModule - Class in ratpack.groovy.template
- TextTemplateModule() - Constructor for class ratpack.groovy.template.TextTemplateModule
- TextTemplateModule.Config - Class in ratpack.groovy.template
- TextTemplateScript - Interface in ratpack.groovy.template
-
The API available in template files.
- then() - Method in interface ratpack.exec.Operation
- then(Action<? super T>) - Method in interface ratpack.exec.Promise
-
Specifies what should be done with the promised object when it becomes available.
- then(Block) - Method in interface ratpack.exec.Operation
- threads(int) - Method in interface ratpack.core.server.ServerConfigBuilder
-
The number of threads to use.
- threads(int) - Method in interface ratpack.exec.ExecControllerSpec.ComputeSpec
-
Specify the number of threads for this group.
- threads(int) - Method in interface ratpack.exec.ExecControllerSpec.EventLoopSpec
-
Specify the number of threads for this group.
- throttle(Promise<T>) - Method in interface ratpack.exec.Throttle
-
Throttles the given promise.
- Throttle - Interface in ratpack.exec
-
Limits the concurrency of operations, typically access to an external resource.
- throttled(Throttle) - Method in interface ratpack.exec.Promise
-
Throttles
this
promise, using the giventhrottle
. - throwException() - Static method in interface ratpack.func.Action
-
Returns an action that receives a throwable and immediately throws it.
- throwException(Throwable) - Static method in interface ratpack.func.Action
-
Returns an action that immediately throws the given exception.
- throwException(Throwable) - Static method in interface ratpack.func.Block
-
Returns an action that immediately throws the given exception.
- throwIfError(Throwable) - Static method in class ratpack.func.Exceptions
-
Throws the given throwable if it is an
Error
, otherwise does nothing. - ThymeleafModule - Class in ratpack.thymeleaf3
-
An extension module that provides support for Thymeleaf templating engine.
- ThymeleafModule() - Constructor for class ratpack.thymeleaf3.ThymeleafModule
- ThymeleafModule.Config - Class in ratpack.thymeleaf3
-
The configuration object for
ThymeleafModule
. - thymeleafTemplate(String) - Static method in class ratpack.thymeleaf3.Template
- thymeleafTemplate(String, Map<String, Object>) - Static method in class ratpack.thymeleaf3.Template
- thymeleafTemplate(String, IContext) - Static method in class ratpack.thymeleaf3.Template
- time(Action<? super Duration>) - Method in interface ratpack.exec.Promise
-
Emits the time taken from when the promise is subscribed to to when the result is available.
- timeout(int) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Sets the maximum time to allow the handler under test to produce a result.
- timeout(int) - Method in interface ratpack.test.handling.RequestFixture
-
Sets the maximum time to allow the handler under test to produce a result.
- TimeoutException(String) - Constructor for exception ratpack.exec.util.ReadWriteAccess.TimeoutException
- timeResult() - Method in interface ratpack.exec.Promise
- timeResult(BiAction<? super ExecResult<T>, ? super Duration>) - Method in interface ratpack.exec.Promise
-
Emits the time taken from when the promise is subscribed to to when the result is available.
- tmpDir() - Static method in interface ratpack.test.embed.EphemeralBaseDir
-
Creates a new base dir, using a newly created dir within the JVM's assigned temp dir.
- tmpJar() - Static method in interface ratpack.test.embed.EphemeralBaseDir
-
Creates a new base dir which is actually a jar created within the JVM's assigned temp dir.
- to(Function<? super Operation, ? extends O>) - Method in interface ratpack.exec.Operation
- to(Function<? super Promise<T>, ? extends O>) - Method in interface ratpack.exec.Promise
-
Applies the given function to
this
and returns the result. - toBiConsumer() - Method in interface ratpack.func.BiAction
-
Creates a JDK
BiConsumer
from this action. - toByteArray(Publisher<? extends ByteBuf>) - Static method in class ratpack.exec.stream.bytebuf.ByteBufStreams
-
Reduces the stream to a single
byte[]
. - toByteArrays(Publisher<? extends ByteBuf>) - Static method in class ratpack.exec.stream.bytebuf.ByteBufStreams
-
Converts the byte buf stream to a stream of
byte[]
. - toCompletableFuture() - Method in interface ratpack.exec.Promise
-
Convert this promise into a
CompletableFuture
. - toConsumer() - Method in interface ratpack.func.Action
-
Creates a JDK
Consumer
from this action. - toException(Throwable) - Static method in class ratpack.func.Exceptions
-
Converts the given throwable to an
Exception
if necessary. - toFunction() - Method in interface ratpack.func.Function
-
Converts
this
function into the equivalent JDK type. - toGuavaFunction() - Method in interface ratpack.func.Function
-
Converts
this
function into the equivalent Guava type. - toGuavaPredicate() - Method in interface ratpack.func.Predicate
-
Creates a Guava
Predicate
from this predicate. - toJson(Registry) - Static method in class ratpack.core.jackson.Jackson
-
Deprecated.since 1.10 with no replacement
- toJson(Registry) - Static method in class ratpack.gson.Gson
-
Creates a mapping function that returns the JSON representation as a string of the input object.
- token(Class<T>) - Static method in class ratpack.func.Types
-
Create a type token for the given class.
- token(Type) - Static method in class ratpack.func.Types
-
Create a type token for the given runtime type.
- token(String) - Method in interface ratpack.core.path.PathBinderBuilder
-
Add a token to the path.
- tokenize(String) - Method in interface ratpack.config.EnvironmentParser
-
Splits the name of an environment variable into per-object segments.
- tokenWithPattern(String, String) - Method in interface ratpack.core.path.PathBinderBuilder
-
Add a regular expression parameterized named token to the path.
- toList() - Method in interface ratpack.exec.stream.TransformablePublisher
-
Consumes the given publisher's items to a list.
- toList(Publisher<T>) - Static method in class ratpack.exec.stream.Streams
-
Creates a promise for the given publisher's items as a List.
- TOO_MANY_REQUESTS - Static variable in interface ratpack.core.http.Status
-
The 429 status code.
- toPredicate() - Method in interface ratpack.func.Predicate
-
Creates a JDK
Predicate
from this predicate. - toPromise() - Method in interface ratpack.exec.stream.TransformablePublisher
- toPromise(CompletableFuture<T>) - Static method in interface ratpack.exec.Promise
-
Convert a
CompletableFuture
into a promise. - toPromise(Publisher<T>) - Static method in class ratpack.exec.stream.Streams
-
Creates a promise for the given publisher's single item.
- toRunnable() - Method in interface ratpack.func.Block
-
Converts this action to a runnable.
- toString() - Method in class ratpack.core.bytebuf.ByteBufRef
- toString() - Method in class ratpack.core.health.HealthCheckResults
-
Provides a string representation of the results.
- toString() - Method in class ratpack.core.parse.NullParseOpts
- toString() - Method in interface ratpack.core.server.ReloadInformant
-
The description of this reload informant.
- toString() - Method in class ratpack.func.Pair
-
Returns "Pair[«left.toString()»,«right.toString()»].
- toString() - Method in class ratpack.handlebars.Template
- toString(int, int, Charset) - Method in class ratpack.core.bytebuf.ByteBufRef
- toString(Charset) - Method in class ratpack.core.bytebuf.ByteBufRef
- touch() - Method in class ratpack.core.bytebuf.ByteBufRef
- touch(Object) - Method in class ratpack.core.bytebuf.ByteBufRef
- Transaction - Interface in ratpack.jdbctx
-
A JDBC transaction coordinator.
- TransactionException - Exception in ratpack.jdbctx
-
Thrown by
Transaction
. - TransactionException(String) - Constructor for exception ratpack.jdbctx.TransactionException
-
Constructor.
- transform(Function<? super TransformablePublisher<? extends T>, ? extends Publisher<O>>) - Method in interface ratpack.exec.stream.TransformablePublisher
-
Convenience method to allow a non Ratpack publisher transform method to be hooked in.
- transform(Function<? super Upstream<? extends T>, ? extends Upstream<O>>) - Method in interface ratpack.exec.Promise
-
Apply a custom transform to this promise.
- transformable(Publisher<T>) - Static method in class ratpack.exec.stream.Streams
-
Wraps the publisher in Ratpack's
TransformablePublisher
to make composing a pipeline easier. - TransformablePublisher<T> - Interface in ratpack.exec.stream
-
A wrapper over a
Publisher
that makes it more convenient to chain transformations of different kinds. - TRUE - Static variable in interface ratpack.func.Predicate
-
A predicate that always returns
true
, regardless of the input object. - type(CharSequence) - Method in interface ratpack.core.http.client.RequestSpec.Body
-
Specifies the
"Content-Type"
of the request. - type(CharSequence, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(CharSequence, Class<? extends Handler>) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(CharSequence, Class<? extends Handler>) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- type(CharSequence, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(CharSequence, Handler) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(CharSequence, Handler) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- type(CharSequence, Handler) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(CharSequence, Block) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(CharSequence, Block) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- type(CharSequence, Block) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Class<? extends Handler>) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Class<? extends Handler>) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- type(String, Class<? extends Handler>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Handler) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Handler) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- type(String, Handler) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Block) - Method in interface ratpack.core.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String, Block) - Method in class ratpack.groovy.handling.DefaultGroovyByContentSpec
- type(String, Block) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- TYPE - Static variable in interface ratpack.config.FileSystemBinding
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.error.ClientErrorHandler
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.error.ServerErrorHandler
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.handling.Context
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.handling.Redirector
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.handling.RequestId.Generator
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.handling.RequestId
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.http.Request
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.http.Response
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.path.PathBinding
-
A type token for this type.
- TYPE - Static variable in interface ratpack.core.server.ServerConfig
-
A type token for this type.
- TypeCoercingMap<K> - Interface in ratpack.func
-
A string valued map that can do simple type conversions from the string values to primitive types.
- TypeCoercingProperties - Class in ratpack.func
-
A delegate for
Properties
that can coerce values to various types. - TypeCoercingProperties(Properties) - Constructor for class ratpack.func.TypeCoercingProperties
- TypeCoercingProperties(Properties, ClassLoader) - Constructor for class ratpack.func.TypeCoercingProperties
- TypedData - Interface in ratpack.core.http
-
Data that potentially has a content type.
- typeOf(Class<T>) - Static method in interface ratpack.core.render.RenderableDecorator
-
Creates a type token for a decorator of objects of the given type.
- typeOf(Class<T>) - Static method in interface ratpack.core.render.Renderer
-
Creates a type token for a renderer of the given type of object.
- Types - Class in ratpack.func
-
Static utility methods for dealing with types.
All Classes All Packages