Builder

interface Builder<out T : Taggable.Builder<T>>

The builder analogue to Taggable types.

Functions

Link copied to clipboard
open fun tag(type: Class<*>, tag: Any?): T
open fun tag(type: KClass<*>, tag: Any?): T

Attaches tag to the request using type as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for type.

Properties

Link copied to clipboard
abstract val tags: MutableMap<KClass<*>, Any>

Mutable map of the current tags this builder contains.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard