Packages

trait Rejection extends AnyRef

A rejection encapsulates a specific reason why a Route was not able to handle a request. Rejections are gathered up over the course of a Route evaluation and finally converted to akka.http.scaladsl.model.HttpResponses by the handleRejections directive, if there was no way for the request to be completed.

If providing custom rejections, extend CustomRejection instead.

Source
Rejections.scala
Linear Supertypes
Known Subclasses
AuthenticationFailedRejection, AuthorizationFailedRejection, CircuitBreakerOpenRejection, CustomRejection, ExpectedWebSocketRequestRejection, InvalidOriginRejection, InvalidRequiredValueForQueryParamRejection, MalformedFormFieldRejection, MalformedHeaderRejection, MalformedQueryParamRejection, MalformedRequestContentRejection, MethodRejection, MissingAttributeRejection, MissingCookieRejection, MissingFormFieldRejection, MissingHeaderRejection, MissingQueryParamRejection, RequestEntityExpectedRejection, SchemeRejection, TooManyRangesRejection, TransformationRejection, UnacceptedResponseContentTypeRejection, UnacceptedResponseEncodingRejection, UnsatisfiableRangeRejection, UnsupportedRequestContentTypeRejection, UnsupportedRequestEncodingRejection, UnsupportedWebSocketSubprotocolRejection, ValidationRejection, AuthenticationFailedRejection, AuthorizationFailedRejection, CircuitBreakerOpenRejection, ExpectedWebSocketRequestRejection, InvalidOriginRejection, InvalidRequiredValueForQueryParamRejection, MalformedFormFieldRejection, MalformedHeaderRejection, MalformedQueryParamRejection, MalformedRequestContentRejection, MethodRejection, MissingAttributeRejection, MissingCookieRejection, MissingFormFieldRejection, MissingHeaderRejection, MissingQueryParamRejection, Rejection, RejectionWithOptionalCause, RequestEntityExpectedRejection, SchemeRejection, TooManyRangesRejection, TransformationRejection, UnacceptedResponseContentTypeRejection, UnacceptedResponseEncodingRejection, UnsatisfiableRangeRejection, UnsupportedRequestContentTypeRejection, UnsupportedRequestEncodingRejection, UnsupportedWebSocketSubprotocolRejection, ValidationRejection
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Rejection
  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