Package akka.http.javadsl.server
Interface Rejection
- All Known Subinterfaces:
AuthenticationFailedRejection
,AuthorizationFailedRejection
,CircuitBreakerOpenRejection
,CustomRejection
,ExpectedWebSocketRequestRejection
,InvalidOriginRejection
,InvalidRequiredValueForQueryParamRejection
,MalformedFormFieldRejection
,MalformedHeaderRejection
,MalformedQueryParamRejection
,MalformedRequestContentRejection
,MethodRejection
,MissingAttributeRejection<T>
,MissingCookieRejection
,MissingFormFieldRejection
,MissingHeaderRejection
,MissingQueryParamRejection
,Rejection
,RejectionWithOptionalCause
,SchemeRejection
,TooManyRangesRejection
,TransformationRejection
,UnacceptedResponseContentTypeRejection
,UnacceptedResponseEncodingRejection
,UnsatisfiableRangeRejection
,UnsupportedRequestContentTypeRejection
,UnsupportedRequestEncodingRejection
,UnsupportedWebSocketSubprotocolRejection
,ValidationRejection
- All Known Implementing Classes:
AuthenticationFailedRejection
,AuthorizationFailedRejection$
,CircuitBreakerOpenRejection
,ExpectedWebSocketRequestRejection$
,InvalidOriginRejection
,InvalidRequiredValueForQueryParamRejection
,MalformedFormFieldRejection
,MalformedHeaderRejection
,MalformedQueryParamRejection
,MalformedRequestContentRejection
,MethodRejection
,MissingAttributeRejection
,MissingCookieRejection
,MissingFormFieldRejection
,MissingHeaderRejection
,MissingQueryParamRejection
,PathDirectives.TrailingRetryRejection$
,RequestEntityExpectedRejection
,RequestEntityExpectedRejection$
,SchemeRejection
,TooManyRangesRejection
,TransformationRejection
,UnacceptedResponseContentTypeRejection
,UnacceptedResponseEncodingRejection
,UnsatisfiableRangeRejection
,UnsupportedRequestContentTypeRejection
,UnsupportedRequestEncodingRejection
,UnsupportedWebSocketSubprotocolRejection
,ValidationRejection
public interface 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
HttpResponse
s by the
handleRejections
directive, if there was no way for the request to be completed.
If providing custom rejections, extend CustomRejection
instead.