object Directive
- Source
- Directive.scala
- Alphabetic
- By Inheritance
- Directive
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit final class Directive0Support extends AnyVal
Adds helper functions to
Directive0
- implicit final class SingleValueTransformers[T] extends AnyVal
"Standard" transformers for Directive1.
"Standard" transformers for Directive1. Easier to use than
tmap
,tflatMap
, etc. defined on Directive itself, because they provide transparent conversion from Tuple1.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Empty: Directive0
A Directive that always passes the request on to its inner route (i.e.
A Directive that always passes the request on to its inner route (i.e. does nothing).
- def SingleValueModifiers[T](underlying: Directive1[T]): SingleValueModifiers[T]
previous, non-value class implementation kept around for binary compatibility TODO: remove with next binary incompatible release bump
previous, non-value class implementation kept around for binary compatibility TODO: remove with next binary incompatible release bump
INTERNAL API
- Annotations
- @InternalApi()
- implicit def addByNameNullaryApply(directive: Directive0): (=> Route) => Route
Adds
apply
to Directive0.Adds
apply
to Directive0. Note: Theapply
parameter is call-by-name to ensure consistent execution behavior with the directives producing extractions. - implicit def addDirectiveApply[L](directive: Directive[L])(implicit hac: ApplyConverter[L]): (In) => Route
Adds
apply
to all Directives with 1 or more extractions, which allows specifying an n-ary function to receive the extractions instead of a Function1[TupleX, Route]. - def apply[T](f: ((T) => Route) => Route)(implicit arg0: Tuple[T]): Directive[T]
Constructs a directive from a function literal.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])