- takeOwnership(Action<Object>) - Method in interface ratpack.handling.direct.DirectChannelAccess
-
Signals that Ratpack should no longer manage this channel.
- Template - Interface in ratpack.groovy.templating
-
- Template - Class in ratpack.handlebars
-
- Template - Class in ratpack.thymeleaf
-
- TemplateModel - Interface in ratpack.groovy.templating
-
- TemplateScript - Interface in ratpack.groovy.templating
-
The API available in template files.
- TemplatingModule - Class in ratpack.groovy.templating
-
- TemplatingModule() - Constructor for class ratpack.groovy.templating.TemplatingModule
-
- TemplatingModule.Config - Class in ratpack.groovy.templating
-
- terminate() - Method in interface ratpack.session.Session
-
Terminates the session with the client.
- test(Consumer<? super TestHttpClient>) - Method in interface ratpack.test.embed.EmbeddedApp
-
Provides the given consumer with a
test http client
for this application, then closes this application.
- TestHttpClient - Interface in ratpack.test.http
-
- testHttpClient(ApplicationUnderTest) - Static method in class ratpack.test.http.TestHttpClients
-
- testHttpClient(ApplicationUnderTest, Action<? super RequestSpec>) - Static method in class ratpack.test.http.TestHttpClients
-
- TestHttpClients - Class in ratpack.test.http
-
- TestHttpClients() - Constructor for class ratpack.test.http.TestHttpClients
-
- 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".
- then(Action<? super T>) - Method in interface ratpack.exec.Promise
-
Specifies what should be done with the promised object when it becomes available.
- then(Action<? super T>) - Method in interface ratpack.exec.SuccessPromise
-
Specifies what should be done with the promised object when it becomes available.
- threads(int) - Method in class ratpack.launch.LaunchConfigBuilder
-
The number of threads to use.
- THREADS - Static variable in class ratpack.launch.LaunchConfigs.Property
-
The number of worker 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.PromiseOperations
-
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.
- throwIfError(Throwable) - Static method in class ratpack.util.ExceptionUtils
-
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
-
- thymeleafTemplate(String) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, Consumer<? super ImmutableMap.Builder<String, Object>>) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(Map<String, ?>, String) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(String, String, Consumer<? super ImmutableMap.Builder<String, Object>>) - Static method in class ratpack.thymeleaf.Template
-
- thymeleafTemplate(Map<String, ?>, String, String) - Static method in class ratpack.thymeleaf.Template
-
- TIME_RESPONSES - Static variable in class ratpack.launch.LaunchConfigs.Property
-
Whether to time responses.
- timeout(int) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
- timeout(int) - Method in interface ratpack.test.handling.RequestFixture
-
Sets the maximum time to allow the handler under test to produce a result.
- timeResponses(boolean) - Method in class ratpack.launch.LaunchConfigBuilder
-
Whether to time responses.
- tmpDir() - Static method in interface ratpack.test.embed.BaseDirBuilder
-
- tmpJar() - Static method in interface ratpack.test.embed.BaseDirBuilder
-
- toConsumer() - Method in interface ratpack.func.Action
-
Creates a JDK
Consumer
from this action.
- toException(Throwable) - Static method in class ratpack.util.ExceptionUtils
-
Converts the given throwable to an
Exception
if necessary.
- toFunction() - Method in interface ratpack.func.Function
-
Converts this
function into the equivalent JDK type.
- token(String) - Method in interface ratpack.path.PathBinderBuilder
-
Add a token to the path.
- tokenWithPattern(String, String) - Method in interface ratpack.path.PathBinderBuilder
-
Add a regular expression parameterized named token to the path.
- toPredicate() - Method in interface ratpack.func.Predicate
-
- 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
-
- type(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyByContentSpec
-
Register how to respond with 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.
- type - Variable in class ratpack.registry.PredicateCacheability.CacheKey
-
- TypeCoercingMap<K> - Interface in ratpack.util
-
A string valued map that can do simple type conversions from the string values to primitive types.
- TypedData - Interface in ratpack.http
-
Data that potentially has a content type.
- Types - Class in ratpack.util
-
Static utility methods for dealing with types.