Rejection
org.apache.pekko.http.javadsl.server.Rejection
trait Rejection
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 pekko.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.
Attributes
- Source
- Rejections.scala
- Graph
-
- Supertypes
- Known subtypes
-
object AuthorizationFailedRejectiontrait InvalidOriginRejectionclass InvalidOriginRejectiontrait MalformedHeaderRejectionclass MalformedHeaderRejectiontrait MethodRejectionclass MethodRejectiontrait MissingAttributeRejection[T]class MissingAttributeRejection[T]trait MissingCookieRejectionclass MissingCookieRejectiontrait MissingHeaderRejectionclass MissingHeaderRejectiontrait SchemeRejectionclass SchemeRejectiontrait TooManyRangesRejectionclass TooManyRangesRejectiontrait TransformationRejectionclass TransformationRejectiontrait ValidationRejectionclass ValidationRejectiontrait Rejectiontrait CustomRejection
In this article