RejectionHandlerBuilder
Attributes
- Source
- RejectionHandler.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source
- RejectionHandler.scala
Handles a single Rejection with the given function.
Handles several Rejections of the same type at the same time. The list passed to the given function is guaranteed to be non-empty.
Handles several Rejections of the same type at the same time. The list passed to the given function is guaranteed to be non-empty.
Attributes
- Source
- RejectionHandler.scala
Convenience method for handling rejections created by created by the onCompleteWithBreaker directive. Signals that the request was rejected because the supplied circuit breaker is open and requests are failing fast.
Convenience method for handling rejections created by created by the onCompleteWithBreaker directive. Signals that the request was rejected because the supplied circuit breaker is open and requests are failing fast.
Use to customise the error response being written instead of the default pekko.http.javadsl.model.StatusCodes.SERVICE_UNAVAILABLE response.
Attributes
- Source
- RejectionHandler.scala
Handles the special "not found" case using the given Route.
Handles the special "not found" case using the given Route.
Attributes
- Source
- RejectionHandler.scala