- takeOwnership(Action<Object>) - Method in interface ratpack.handling.direct.DirectChannelAccess
-
Signals that Ratpack should no longer manage this channel.
- Template - Class in ratpack.handlebars
-
- Template - Class in ratpack.thymeleaf
-
- templatesCacheSize(int) - Method in class ratpack.thymeleaf.ThymeleafModule.Config
-
Sets the size of the templates cache.
- templatesMode(String) - Method in class ratpack.thymeleaf.ThymeleafModule.Config
-
Sets the mode for templates.
- templatesPath(String) - Method in class ratpack.handlebars.HandlebarsModule.Config
-
- templatesPrefix(String) - Method in class ratpack.thymeleaf.ThymeleafModule.Config
-
Sets the prefix for templates.
- templatesSuffix(String) - Method in class ratpack.handlebars.HandlebarsModule.Config
-
- templateSuffix(String) - Method in class ratpack.thymeleaf.ThymeleafModule.Config
-
Sets the suffix for templates.
- terminate() - Method in interface ratpack.session.Session
-
Terminates the session with the client.
- 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 - Interface in ratpack.test.http
-
A Http Client focused on testing Ratpack applications.
- 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(RatpackServer) - Static method in interface ratpack.test.http.TestHttpClient
-
- testHttpClient(Factory<? extends RatpackServer>) - Static method in interface ratpack.test.http.TestHttpClient
-
- text(CharSequence) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body as a UTF-8 char sequence.
- text(CharSequence, Charset) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body as a char sequence of the given charset.
- TEXT_HTML - Static variable in interface ratpack.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(Action<? super T>) - Method in interface ratpack.exec.Promise
-
Specifies what should be done with the promised object when it becomes available.
- threads(int) - Method in interface ratpack.server.ServerConfig.Builder
-
The number of threads to use.
- Throttle - Interface in ratpack.exec
-
Limits the concurrency of operations, typically access to an external resource.
- throttle(Promise<T>) - Method in interface ratpack.exec.Throttle
-
Throttles the given promise.
- throttled(Throttle) - Method in interface ratpack.exec.Promise
-
Throttles
this
promise, using the given
throttle
.
- 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.util.Exceptions
-
Throws the given throwable if it is an
Error
, otherwise does nothing.
- ThymeleafModule - Class in ratpack.thymeleaf
-
An extension module that provides support for Thymeleaf templating engine.
- ThymeleafModule() - Constructor for class ratpack.thymeleaf.ThymeleafModule
-
- ThymeleafModule.Config - Class in ratpack.thymeleaf
-
- thymeleafTemplate(String) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, IFragmentSpec) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(Map<String, ?>, String) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(Map<String, ?>, String, IFragmentSpec) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, Consumer<? super ImmutableMap.Builder<String, Object>>) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, Consumer<? super ImmutableMap.Builder<String, Object>>, IFragmentSpec) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, String, Consumer<? super ImmutableMap.Builder<String, Object>>) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, String, Consumer<? super ImmutableMap.Builder<String, Object>>, IFragmentSpec) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(Map<String, ?>, String, String) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(Map<String, ?>, String, String, IFragmentSpec) - Static method in class ratpack.thymeleaf.Template
-
- 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.
- tmpDir() - Static method in interface ratpack.test.embed.BaseDirBuilder
-
- tmpJar() - Static method in interface ratpack.test.embed.BaseDirBuilder
-
- 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
-
- toConsumer() - Method in interface ratpack.func.Action
-
Creates a JDK
Consumer
from this action.
- toException(Throwable) - Static method in class ratpack.util.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.jackson.Jackson
-
Creates a mapping function that returns the JSON representation as a string of the input object.
- token(String) - Method in interface ratpack.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.path.PathBinderBuilder
-
Add a regular expression parameterized named token to the path.
- toList(Publisher<T>) - Static method in class ratpack.stream.Streams
-
- toList(ExecControl, Publisher<T>) - Static method in class ratpack.stream.Streams
-
Creates a promise for the given publisher's items as a List.
- toList() - Method in interface ratpack.stream.TransformablePublisher
-
Consumes the given publisher's items to a list.
- toList(ExecControl) - Method in interface ratpack.stream.TransformablePublisher
-
- toPredicate() - Method in interface ratpack.func.Predicate
-
- toPromise(Publisher<T>) - Static method in class ratpack.stream.Streams
-
- toPromise(ExecControl, Publisher<T>) - Static method in class ratpack.stream.Streams
-
Creates a promise for the given publisher's single item.
- toPromise() - Method in interface ratpack.stream.TransformablePublisher
-
- toPromise(ExecControl) - Method in interface ratpack.stream.TransformablePublisher
-
- toRunnable() - Method in interface ratpack.func.Block
-
Converts this action to a runnable.
- toString() - Method in class ratpack.func.Pair
-
Returns "Pair[«left.toString()»,«right.toString()»]
- toString() - Method in class ratpack.handlebars.Template
-
- toString() - Method in class ratpack.parse.NullParseOpts
-
- toString() - Method in interface ratpack.server.ReloadInformant
-
The description of this reload informant.
- transform(Function<? super Upstream<? extends T>, ? extends Upstream<O>>) - Method in interface ratpack.exec.Promise
-
Apply a custom transform to this promise.
- transform(Function<? super TransformablePublisher<T>, ? extends Publisher<O>>) - Method in interface ratpack.stream.TransformablePublisher
-
Convenience method to allow a non Ratpack publisher transform method to be hooked in.
- transformable(Publisher<T>) - Static method in class ratpack.stream.Streams
-
- TransformablePublisher<T> - Interface in ratpack.stream
-
A wrapper over a Publisher
that makes it more convenient to chain transformations of different kinds.
- type(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Specifies that the given action should be used if the client wants content of the given MIME type.
- type(String, Block) - Method in interface ratpack.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 interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the "Content-Type"
of the request.
- TypeCoercingMap<K> - Interface in ratpack.util
-
A string valued map that can do simple type conversions from the string values to primitive types.
- typeCompatibleOf(T) - Static method in interface ratpack.render.Renderer
-
Creates a type token for a compatible renderer of the given type of object.
- TypedData - Interface in ratpack.http
-
Data that potentially has a content type.
- typeOf(Class<T>) - Static method in interface ratpack.render.RenderableDecorator
-
Creates a type token for a decorator of objects of the given type.
- typeOf(Class<T>) - Static method in interface ratpack.render.Renderer
-
Creates a type token for a renderer of the given type of object.
- Types - Class in ratpack.util
-
Static utility methods for dealing with types.