BasicDirectives

pl.iterators.stir.server.directives.BasicDirectives
See theBasicDirectives companion object

Attributes

Companion
object
Source
BasicDirectives.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BasicDirectives.type
trait Directives
object Directives.type

Members list

Value members

Concrete methods

Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.

Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.

Attributes

Source
BasicDirectives.scala
def cancelRejections(classes: Class[_]*): Directive0

Adds a TransformationRejection cancelling all rejections of one of the given classes to the list of rejections potentially coming back from the inner route.

Adds a TransformationRejection cancelling all rejections of one of the given classes to the list of rejections potentially coming back from the inner route.

Attributes

Source
BasicDirectives.scala
def cancelRejections(cancelFilter: Rejection => Boolean): Directive0

Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.

Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.

Attributes

Source
BasicDirectives.scala
def extract[T](f: RequestContext => T): Directive1[T]

Extracts a single value using the given function.

Extracts a single value using the given function.

Attributes

Source
BasicDirectives.scala

Extracts the entities dataBytes fs2.Stream from the RequestContext.

Extracts the entities dataBytes fs2.Stream from the RequestContext.

Attributes

Source
BasicDirectives.scala

Extracts the already matched path from the RequestContext.

Extracts the already matched path from the RequestContext.

Attributes

Source
BasicDirectives.scala

Extracts the current Request instance.

Extracts the current Request instance.

Attributes

Source
BasicDirectives.scala

Extracts the RequestContext itself.

Extracts the RequestContext itself.

Attributes

Source
BasicDirectives.scala

Extracts the EntityBody from the RequestContext.

Extracts the EntityBody from the RequestContext.

Attributes

Source
BasicDirectives.scala

Extracts the yet unmatched path from the RequestContext.

Extracts the yet unmatched path from the RequestContext.

Attributes

Source
BasicDirectives.scala

Extracts the complete request URI.

Extracts the complete request URI.

Attributes

Source
BasicDirectives.scala

Attributes

Source
BasicDirectives.scala

Attributes

Source
BasicDirectives.scala

Attributes

Source
BasicDirectives.scala
def mapRouteResultPF(f: PartialFunction[RouteResult, RouteResult]): Directive0

Attributes

Source
BasicDirectives.scala

Attributes

Source
BasicDirectives.scala

Transforms the unmatchedPath of the RequestContext using the given function.

Transforms the unmatchedPath of the RequestContext using the given function.

Attributes

Source
BasicDirectives.scala

A Directive0 that always passes the request on to its inner route (i.e. does nothing with the request or the response).

A Directive0 that always passes the request on to its inner route (i.e. does nothing with the request or the response).

Attributes

Source
BasicDirectives.scala
def provide[T](value: T): Directive1[T]

Injects the given value into a directive.

Injects the given value into a directive.

Attributes

Source
BasicDirectives.scala
def textract[L : Tuple](f: RequestContext => L): Directive[L]

Extracts a number of values using the given function.

Extracts a number of values using the given function.

Attributes

Source
BasicDirectives.scala
def tprovide[L : Tuple](values: L): Directive[L]

Injects the given values into a directive.

Injects the given values into a directive.

Attributes

Source
BasicDirectives.scala