AttributeMap

case

An attribute is arbitrary data that is attached to an endpoint or endpoint input/output. The data is not interpreted by tapir's core in any way, but might be used by interpreters.

Typically, you'll add attributes using Endpoint.attribute and EndpointTransput.Basic.attribute. The attribute keys should be defined by the interpreters which are using them, and made available for import.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def get[T](k: AttributeKey[T]): Option[T]
def isEmpty: Boolean
def nonEmpty: Boolean
def put[T](k: AttributeKey[T], v: T): AttributeMap

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product