Object

com.twitter.finagle.buoyant.linkerd.Headers.Ctx

Dtab

Related Doc: package Ctx

Permalink

object Dtab

There are two headers used to control local Dtabs in linkerd:

  1. l5d-ctx-dtab is read and _written_ by linkerd. It is intended to managed entirely by linkerd, and applications should only forward requests prefixed by l5d-ctx-*.

*NOTE*: the client module does not yet encode l5d-ctx-dtab. dtab-local is still to be relied on until https://github.com/twitter/finagle/pull/514 is complete.

2. l5d-dtab is to be provided by users. Applications are not required to forward l5d-dtab when fronted by linkerd.

l5d-dtab is appended to l5d-ctx-dtab, so that user-provided delegations take precdence.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Dtab
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class ClientFilter extends SimpleFilter[Request, Response]

    Permalink

    Encodes the local dtab into the L5d-Ctx-Dtab header.

    Encodes the local dtab into the L5d-Ctx-Dtab header.

    To do

    use DtabFilter.Extractor once it is released.

  2. class ServerFilter extends SimpleFilter[Request, Response]

    Permalink

    Extract a Dtab from the L5d-Ctx-Dtab and L5d-Dtab headers (in that order) and append them to the local context.

    Extract a Dtab from the L5d-Ctx-Dtab and L5d-Dtab headers (in that order) and append them to the local context.

    The L5d-Ctx-Dtab header is intended to be set by a linkerd instance, while the L5d-Dtab header is intended to be set by a user who wants to override delegation.

    To do

    use DtabFilter.Injector once it is released.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val CtxKey: String

    Permalink
  5. val UserKey: String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clear(headers: HeaderMap): Unit

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(headers: HeaderMap): Try[Dtab]

    Permalink
  13. def get(headers: HeaderMap, key: String): Try[Dtab]

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def set(dtab: Dtab, msg: Message): Unit

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped