Packages

object Context

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Context
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Entry extends AnyRef

    An untyped representation of a Context entry.

  2. final class Key[T] extends AnyRef

    Encapsulates the type, name and empty value for a context entry.

    Encapsulates the type, name and empty value for a context entry. All reads and writes from a context instance must be done using a context key, which will ensure the right type is used on both operations. The key's name is used when configuring mappings and incoming/outgoing/returning codecs for context propagation across channels.

    If you try to read an entry from a context and such entry is not present, the empty value for the key is returned instead.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Empty: Context

    A Context that doesn't have any entries nor tags.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def key[T](name: String, emptyValue: T): Key[T]

    Creates a new Context.Key instance that can be used to insert and retrieve values from the context entries.

    Creates a new Context.Key instance that can be used to insert and retrieve values from the context entries. Context keys must have a unique name since they will be looked up in transports by their name and the context entries are internally stored using their key name as index.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def of[T, U](keyOne: Key[T], valueOne: T, keyTwo: Key[U], valueTwo: U, tags: TagSet): Context

    Creates a new Context instance with two entries and the provided tags.

  18. def of[T, U](keyOne: Key[T], valueOne: T, keyTwo: Key[U], valueTwo: U): Context

    Creates a new Context instance with two entries and no tags.

  19. def of[T](key: Key[T], value: T, tags: TagSet): Context

    Creates a new Context instance with a single entry and the provided tags.

  20. def of[T](key: Key[T], value: T): Context

    Creates a new Context instance with the provided key and no tags.

  21. def of(tagKey: String, tagValue: Boolean): Context

    Creates a new Context instance with one tag.

  22. def of(tagKey: String, tagValue: Long): Context

    Creates a new Context instance with one tag.

  23. def of(tagKey: String, tagValue: String): Context

    Creates a new Context instance with one tag.

  24. def of(tags: TagSet): Context

    Creates a new Context instance with the provided tags and no entries.

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. object Entry

Inherited from AnyRef

Inherited from Any

Ungrouped