class
TracingActionBuilder extends ActionBuilder[TracingRequest, AnyContent]
Instance Constructors
-
new
TracingActionBuilder(tracer: Tracer, contextSpan: ContextSpan, taggers: Traversable[SpanTagger])(implicit ec: ExecutionContext, mat: ActorMaterializer)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
andThen[Q[_]](other: ActionFunction[TracingRequest, Q]): ActionBuilder[Q, AnyContent]
-
final
def
apply(block: ⇒ Result): Action[AnyContent]
-
final
def
apply(block: (TracingRequest[AnyContent]) ⇒ Result): Action[AnyContent]
-
final
def
apply[A](bodyParser: BodyParser[A]): ActionBuilder[TracingRequest, A]
-
final
def
asInstanceOf[T0]: T0
-
final
def
async[A](bodyParser: BodyParser[A])(block: (TracingRequest[A]) ⇒ Future[Result]): Action[A]
-
final
def
async(block: (TracingRequest[AnyContent]) ⇒ Future[Result]): Action[AnyContent]
-
final
def
async(block: ⇒ Future[Result]): Action[AnyContent]
-
def
clone(): AnyRef
-
def
compose[B](other: ActionBuilder[Request, B]): ActionBuilder[TracingRequest, B]
-
def
compose[Q[_]](other: ActionFunction[Q, Request]): ActionFunction[Q, TracingRequest]
-
def
composeAction[A](action: Action[A]): Action[A]
-
def
composeParser[A](bodyParser: BodyParser[A]): BodyParser[A]
-
val
contextSpan: ContextSpan
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
executionContext: ExecutionContext
-
def
finalize(): Unit
-
def
finishSpan[A](request: TracingRequest[A], result: Result): Result
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
invokeBlock[A](request: Request[A], block: (TracingRequest[A]) ⇒ Future[Result]): Future[Result]
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
parser: BodyParser[AnyContent]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
tracer: Tracer
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
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.