Packages

final class RejectionHandler extends AnyRef

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

Instance Constructors

  1. new RejectionHandler(asScala: scaladsl.server.RejectionHandler)

Value Members

  1. val asScala: scaladsl.server.RejectionHandler
  2. def mapRejectionResponse(map: UnaryOperator[HttpResponse]): RejectionHandler

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

  3. def seal: RejectionHandler

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

  4. def withFallback(fallback: RejectionHandler): RejectionHandler

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