Class

io.opentracing.play

TracingActionBuilder

Related Doc: package play

Permalink

class TracingActionBuilder extends ActionBuilder[TracingRequest, AnyContent]

A class to make it easy to create Actions that take a TracingRequest and run with a Span stored in thread local storage.

Normally you would create an object that extends this class, and use that to create Actions.

object TracingAction extends TracingActionBuilder(ContextSpan.DEFAULT, Nil)
Linear Supertypes
ActionBuilder[TracingRequest, AnyContent], ActionFunction[Request, TracingRequest], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TracingActionBuilder
  2. ActionBuilder
  3. ActionFunction
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TracingActionBuilder(tracer: Tracer, contextSpan: ContextSpan, taggers: Iterable[SpanTagger])(parser: BodyParser[AnyContent])(implicit ec: ExecutionContext)

    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 andThen[Q[_]](other: ActionFunction[TracingRequest, Q]): ActionBuilder[Q, AnyContent]

    Permalink
    Definition Classes
    ActionBuilder → ActionFunction
  5. final def apply(block: ⇒ Result): Action[AnyContent]

    Permalink
    Definition Classes
    ActionBuilder
  6. final def apply(block: (TracingRequest[AnyContent]) ⇒ Result): Action[AnyContent]

    Permalink
    Definition Classes
    ActionBuilder
  7. final def apply[A](bodyParser: BodyParser[A]): ActionBuilder[TracingRequest, A]

    Permalink
    Definition Classes
    ActionBuilder
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final def async[A](bodyParser: BodyParser[A])(block: (TracingRequest[A]) ⇒ Future[Result]): Action[A]

    Permalink
    Definition Classes
    ActionBuilder
  10. final def async(block: (TracingRequest[AnyContent]) ⇒ Future[Result]): Action[AnyContent]

    Permalink
    Definition Classes
    ActionBuilder
  11. final def async(block: ⇒ Future[Result]): Action[AnyContent]

    Permalink
    Definition Classes
    ActionBuilder
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. def compose[B](other: ActionBuilder[Request, B]): ActionBuilder[TracingRequest, B]

    Permalink
    Definition Classes
    ActionFunction
  14. def compose[Q[_]](other: ActionFunction[Q, Request]): ActionFunction[Q, TracingRequest]

    Permalink
    Definition Classes
    ActionFunction
  15. def composeAction[A](action: Action[A]): Action[A]

    Permalink
    Attributes
    protected
    Definition Classes
    ActionBuilder
  16. def composeParser[A](bodyParser: BodyParser[A]): BodyParser[A]

    Permalink
    Attributes
    protected
    Definition Classes
    ActionBuilder
  17. val contextSpan: ContextSpan

    Permalink
    Attributes
    protected[this]
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def executionContext: ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    TracingActionBuilder → ActionFunction
  21. def finishSpan[A](request: TracingRequest[A], result: Option[Result]): Unit

    Permalink

    Finish tagging the span and finish it.

    Finish tagging the span and finish it. A subclass may wish to

    Attributes
    protected
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def invokeBlock[A](request: Request[A], block: (TracingRequest[A]) ⇒ Future[Result]): Future[Result]

    Permalink
    Definition Classes
    TracingActionBuilder → ActionFunction
  25. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. val parser: BodyParser[AnyContent]

    Permalink
    Definition Classes
    TracingActionBuilder → ActionBuilder
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. val tracer: Tracer

    Permalink
    Attributes
    protected[this]
  33. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ActionBuilder[TracingRequest, AnyContent]

Inherited from ActionFunction[Request, TracingRequest]

Inherited from AnyRef

Inherited from Any

Ungrouped