implicit final class SingleValueTransformers[T] extends AnyVal
"Standard" transformers for Directive1.
Easier to use than tmap
, tflatMap
, etc. defined on Directive itself,
because they provide transparent conversion from Tuple1.
- Source
- Directive.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SingleValueTransformers
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SingleValueTransformers(underlying: Directive1[T])
Value Members
- def collect[R](pf: PartialFunction[T, R], rejections: Rejection*)(implicit tupler: Tupler[R]): Directive[Out]
- def filter(predicate: (T) ⇒ Boolean, rejections: Rejection*): Directive1[T]
- def flatMap[R](f: (T) ⇒ Directive[R])(implicit arg0: Tuple[R]): Directive[R]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def map[R](f: (T) ⇒ R)(implicit tupler: Tupler[R]): Directive[Out]
- def require(predicate: (T) ⇒ Boolean, rejections: Rejection*): Directive0
- val underlying: Directive1[T]