Packages

c

akka.http.scaladsl.server.Directive

SingleValueTransformers

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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleValueTransformers
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SingleValueTransformers(underlying: Directive1[T])

Value Members

  1. def collect[R](pf: PartialFunction[T, R], rejections: Rejection*)(implicit tupler: Tupler[R]): Directive[Out]
  2. def filter(predicate: (T) => Boolean, rejections: Rejection*): Directive1[T]
  3. def flatMap[R](f: (T) => Directive[R])(implicit arg0: Tuple[R]): Directive[R]
  4. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  5. def map[R](f: (T) => R)(implicit tupler: Tupler[R]): Directive[Out]
  6. def require(predicate: (T) => Boolean, rejections: Rejection*): Directive0
  7. val underlying: Directive1[T]