Package akka.http.javadsl.server
package akka.http.javadsl.server
-
ClassDescriptionRejection created by the various
SecurityDirectives
.Signals the cause of the failed authentication.Signals the cause of the rejecting was that the user could not be authenticated, because theWWW-Authenticate
header was not supplied.Signals the cause of the rejecting was that the user could not be authenticated, because the supplied credentials are invalid.Rejection created by the 'authorize' directive.Rejection created by theonCompleteWithBreaker
directive.To be extended by user-provided custom rejections, such that they may be consumed in either Java or Scala DSLs.Collects all default directives into one class for simple importing of static functions.Collects all default directives into one class for simple importing of static functions.Handles exceptions by turning them into routes.Rejection created when a websocket request was expected but none was found.Deprecated.HttpApp this doesn't reflect the latest Akka APIs, since 10.2.0Rejection created byakka.http.scaladsl.server.directives.HeaderDirectives.checkSameOrigin
.Rejection created by parameter filters.Rejection created by form field filters.Rejection created by header directives.Rejection created by parameter filters.Rejection created by unmarshallers.Rejection created by method filters.Rejection created by attribute directives.Rejection created by thecookie
directive.Rejection created by form field filters.Rejection created by header directives.Rejection created by parameter filters.A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher1<T1>A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher10<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher11<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher12<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher13<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher14<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher15<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher16<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher17<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher18<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher19<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher2<T1,T2> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher20<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher21<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher22<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher3<T1,T2, T3> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher4<T1,T2, T3, T4> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher5<T1,T2, T3, T4, T5> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher6<T1,T2, T3, T4, T5, T6> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher7<T1,T2, T3, T4, T5, T6, T7> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher8<T1,T2, T3, T4, T5, T6, T7, T8> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.PathMatcher9<T1,T2, T3, T4, T5, T6, T7, T8, T9> A PathMatcher tries to match a prefix of a given string and returns either a PathMatcher.Matched instance if matched, otherwise PathMatchers.Unmatched.A rejection encapsulates a specific reason why a Route was not able to handle a request.A Throwable wrapping a Rejection.Rejection created by unmarshallers.In the Java DSL, a Route can only consist of combinations of the built-in directives.INTERNAL APIINTERNAL APIRejection created by scheme filters.Rejection created by range directives.A special Rejection that serves as a container for a transformation function on rejections.Rejection created by marshallers.Rejection created by encoding filters.Rejection created by range directives.Rejection created by unmarshallers.Rejection created by decoding filters.Rejection created when a websocket request was not handled because none of the given subprotocols was supported.Rejection created by thevalidation
directive as well as forIllegalArgumentExceptions
thrown by domain model constructors (e.g. viarequire
).