Object

com.twitter.finagle.buoyant.linkerd.Headers

Ctx

Related Doc: package Headers

Permalink

object Ctx

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

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. object Deadline

    Permalink

    The l5d-ctx-deadline header propagates a request deadline.

    The l5d-ctx-deadline header propagates a request deadline. Each router server may use this deadline to cancel or reject work.

    Each router client sets a deadline that it is at least as strict as the deadline it received. If an incoming request has a deadline, the outgoing request MUST have a deadline. Otherwise, outgoing requests MAY have a deadline.

  5. object Dtab

    Permalink

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

    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.

  6. val Prefix: String

    Permalink
  7. object Trace

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. val clientModule: Stackable[ServiceFactory[Request, Response]]

    Permalink

    A clientside stack module that injects local contextual information onto downstream requests.

    A clientside stack module that injects local contextual information onto downstream requests. Currently this includes:

    • Deadline

    Note that Dtabs are *not* encoded by this filter, since the HttpClientDispatcher is currently responsible for encoding the dtab-local header. In a future release, Dtabs will be encoded into the l5d-ctx-dtab header.

    Note that trace configuration is handled by HttpTraceInitializer.clientModule.

  10. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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. val serverModule: Stackable[ServiceFactory[Request, Response]]

    Permalink

    A serverside stack module that extracts contextual information from requests and configures the local com.twitter.finagle.Context appropriately.

    A serverside stack module that extracts contextual information from requests and configures the local com.twitter.finagle.Context appropriately. Currently this includes:

    • Deadline
    • Dtab

    Note that currently, the dtabs read by this module are appeneded to that specified by the l5d-dtab header. The dtab-local header should be considered deprecated in favor of l5d-dtab, and will not be supported in the future.

    Note that trace configuration is handled by HttpTraceInitializer.serverModule.

  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