Directive

frontroute.Directive
See theDirective companion object
class Directive[L](val tapply: (L => Route) => Route)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def execute(run: In): Route
Implicitly added by addDirectiveExecute

Concrete methods

def &(magnet: ConjunctionMagnet[L]): Out
def collect[R](f: PartialFunction[L, R]): Directive[R]
def collectOption[R](f: PartialFunction[A, R]): Directive[Option[R]]
Implicitly added by directiveOfOptionSyntax
def collectOption[R](f: PartialFunction[A, R]): Directive[Option[R]]
Implicitly added by directiveOfOptionSyntax
def default(v: => A): Directive[A]
Implicitly added by directiveOfOptionSyntax
def default(v: => A): Directive[A]
Implicitly added by directiveOfOptionSyntax
def emap[R](f: L => Either[Any, R]): Directive[R]
def filter(predicate: L => Boolean): Directive[L]
def flatMap[R](next: L => Directive[R]): Directive[R]
def map[R](f: L => R): Directive[R]
def mapOption[R](f: A => R): Directive[Option[R]]
Implicitly added by directiveOfOptionSyntax
def mapOption[R](f: A => R): Directive[Option[R]]
Implicitly added by directiveOfOptionSyntax
def mapTo[R](otherValue: => R): Directive[R]
def none[R]: Directive[Option[R]]
def opt: Directive[Option[L]]
def signal: Directive[StrictSignal[L]]
def some: Directive[Option[L]]
def tap(body: L => Unit): Directive[L]
def |(other: Directive[L]): Directive[L]

Concrete fields

val tapply: (L => Route) => Route