Packages

trait RejectionHandler extends (Seq[Rejection]) => Option[Route]

Self Type
RejectionHandler
Source
RejectionHandler.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RejectionHandler
  2. Function1
  3. AnyRef
  4. Any
Implicitly
  1. by UnliftOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(v1: Seq[Rejection]): Option[Route]
    Definition Classes
    Function1

Concrete Value Members

  1. def andThen[A](g: (Option[Route]) => A): (Seq[Rejection]) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def compose[A](g: (A) => Seq[Rejection]): (A) => Option[Route]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  3. def mapRejectionResponse(map: (HttpResponse) => HttpResponse): RejectionHandler

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

  4. def seal: RejectionHandler

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

  5. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  6. def unlift: PartialFunction[Seq[Rejection], Route]
    Implicit
    This member is added by an implicit conversion from RejectionHandler toUnliftOps[Seq[Rejection], Route] performed by method UnliftOps in scala.Function1.
    Definition Classes
    UnliftOps
  7. def withFallback(that: RejectionHandler): RejectionHandler

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