Class

com.twitter.finagle.buoyant.linkerd.HttpTraceInitializer

ServerFilter

Related Doc: package HttpTraceInitializer

Permalink

class ServerFilter extends SimpleFilter[Request, Response]

Linear Supertypes
SimpleFilter[Request, Response], Filter[Request, Response, Request, Response], (Request, Service[Request, Response]) ⇒ Future[Response], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ServerFilter
  2. SimpleFilter
  3. Filter
  4. Function2
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerFilter(tracer: Tracer, defaultSampler: Option[Sampler] = None)

    Permalink

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. def agnosticAndThen(next: TypeAgnostic): Filter[Request, Response, Request, Response]

    Permalink
    Definition Classes
    Filter
  5. def andThen(factory: ServiceFactory[Request, Response]): ServiceFactory[Request, Response]

    Permalink
    Definition Classes
    Filter
  6. def andThen(service: Service[Request, Response]): Service[Request, Response]

    Permalink
    Definition Classes
    Filter
  7. def andThen[Req2, Rep2](next: Filter[Request, Response, Req2, Rep2]): Filter[Request, Response, Req2, Rep2]

    Permalink
    Definition Classes
    Filter
  8. def andThenIf[Req2 >: Request, Rep2 <: Response](condAndFilter: (Boolean, Filter[Request, Response, Req2, Rep2])): Filter[Request, Response, Req2, Rep2]

    Permalink
    Definition Classes
    Filter
  9. def apply(req: Request, service: Service[Request, Response]): Future[Response]

    Permalink

    Establish context for this request, as follows: 1.

    Establish context for this request, as follows: 1. Set the trace id from the context header, if one was provided. 2. Get a new span id for the current request. 3. Use the sample header to determine if the request should be sampled.

    Definition Classes
    ServerFilter → Filter → Function2
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def curried: (Request) ⇒ (Service[Request, Response]) ⇒ Future[Response]

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def sample[T](sampler: Option[Sampler])(f: ⇒ T): T

    Permalink

    Only set _sampled on the trace ID if the sample header provided a sample rate, the sampler determines that the request should be sampled based on the sample rate, and the _sampled field is unset on the current trace ID.

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

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

    Permalink
    Definition Classes
    Function2 → AnyRef → Any
  25. def tupled: ((Request, Service[Request, Response])) ⇒ Future[Response]

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  26. final def wait(): Unit

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

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

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

Inherited from SimpleFilter[Request, Response]

Inherited from Filter[Request, Response, Request, Response]

Inherited from (Request, Service[Request, Response]) ⇒ Future[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped