Directive

pl.iterators.stir.server.Directive
See theDirective companion class
object Directive

Attributes

Companion
class
Source
Directive.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Directive.type

Members list

Type members

Classlikes

final implicit class Directive0Support(val underlying: Directive0) extends AnyVal

Adds helper functions to Directive0

Adds helper functions to Directive0

Attributes

Source
Directive.scala
Supertypes
class AnyVal
trait Matchable
class Any
final implicit class SingleValueTransformers[T](val underlying: Directive1[T]) extends AnyVal

"Standard" transformers for Directive1. Easier to use than tmap, tflatMap, etc. defined on Directive itself, because they provide transparent conversion from scala.Tuple1.

"Standard" transformers for Directive1. Easier to use than tmap, tflatMap, etc. defined on Directive itself, because they provide transparent conversion from scala.Tuple1.

Attributes

Source
Directive.scala
Supertypes
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

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

Attributes

Source
Directive.scala
def apply[T : Tuple](f: (T => Route) => Route): Directive[T]

Constructs a directive from a function literal.

Constructs a directive from a function literal.

Attributes

Source
Directive.scala

Concrete fields

A Directive that always passes the request on to its inner route (i.e. does nothing).

A Directive that always passes the request on to its inner route (i.e. does nothing).

Attributes

Source
Directive.scala

Implicits

Implicits

final implicit def Directive0Support(underlying: Directive0): Directive0Support

Adds helper functions to Directive0

Adds helper functions to Directive0

Attributes

Source
Directive.scala
final implicit def SingleValueTransformers[T](underlying: Directive1[T]): SingleValueTransformers[T]

"Standard" transformers for Directive1. Easier to use than tmap, tflatMap, etc. defined on Directive itself, because they provide transparent conversion from scala.Tuple1.

"Standard" transformers for Directive1. Easier to use than tmap, tflatMap, etc. defined on Directive itself, because they provide transparent conversion from scala.Tuple1.

Attributes

Source
Directive.scala
implicit def addByNameNullaryApply(directive: Directive0): (=> Route) => Route

Adds apply to Directive0. Note: The apply parameter is call-by-name to ensure consistent execution behavior with the directives producing extractions.

Adds apply to Directive0. Note: The apply parameter is call-by-name to ensure consistent execution behavior with the directives producing extractions.

Attributes

Source
Directive.scala
implicit def addDirectiveApply[L](directive: Directive[L])(implicit hac: ApplyConverter[L]): hac.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].

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].

Attributes

Source
Directive.scala