BasicDirectives

pl.iterators.stir.server.directives.BasicDirectives$
See theBasicDirectives companion trait

Attributes

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

Members list

Value members

Inherited 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

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the entities dataBytes fs2.Stream from the RequestContext.

Extracts the entities dataBytes fs2.Stream from the RequestContext.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the already matched path from the RequestContext.

Extracts the already matched path from the RequestContext.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the current Request instance.

Extracts the current Request instance.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the RequestContext itself.

Extracts the RequestContext itself.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the EntityBody from the RequestContext.

Extracts the EntityBody from the RequestContext.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the yet unmatched path from the RequestContext.

Extracts the yet unmatched path from the RequestContext.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Extracts the complete request URI.

Extracts the complete request URI.

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

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

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Transforms the unmatchedPath of the RequestContext using the given function.

Transforms the unmatchedPath of the RequestContext using the given function.

Attributes

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
Source
BasicDirectives.scala

Attributes

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
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

Inherited from:
BasicDirectives
Source
BasicDirectives.scala