Package akka.http.javadsl.server
Interface RejectionError
-
public interface RejectionError
A Throwable wrapping a Rejection. Can be used for marshallingFuture[T]
orTry[T]
instances, whose failure side is supposed to trigger a route rejection rather than an Exception that is handled by the nearest ExceptionHandler. (Custom marshallers can of course use it as well.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rejection
rejection()
-
-
-
Method Detail
-
rejection
Rejection rejection()
-
-