RejectionHandler

pl.iterators.stir.server.RejectionHandler
See theRejectionHandler companion object
trait RejectionHandler extends (Seq[Rejection]) => Option[Route]

Attributes

Companion
object
Source
RejectionHandler.scala
Graph
Supertypes
trait (Seq[Rejection]) => Option[Route]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Map any HTTP response which was returned by this RejectionHandler to a different one before rendering it.

Map any HTTP response which was returned by this RejectionHandler to a different one before rendering it.

Attributes

Source
RejectionHandler.scala

"Seals" this handler by attaching a default handler as fallback if necessary.

"Seals" this handler by attaching a default handler as fallback if necessary.

Attributes

Source
RejectionHandler.scala

Creates a new RejectionHandler which uses the given one as fallback for this one.

Creates a new RejectionHandler which uses the given one as fallback for this one.

Attributes

Source
RejectionHandler.scala

Inherited methods

def andThen[A](g: (Option[Route]) => A): Seq[Rejection] => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Seq[Rejection]): A => Option[Route]

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Inherited and Abstract methods

Attributes

Inherited from:
Function1