+htp #16438 add Java-side rejection handling support
This commit is contained in:
parent
96ef8875c8
commit
db1be86b02
11 changed files with 427 additions and 2 deletions
|
|
@ -114,6 +114,7 @@ private[http] object RouteImplementation extends Directives with server.RouteCon
|
|||
}
|
||||
handleExceptions(pf)
|
||||
|
||||
case HandleRejections(handler) ⇒ handleRejections(new RejectionHandlerWrapper(handler))
|
||||
case Validated(isValid, errorMsg) ⇒ validate(isValid, errorMsg)
|
||||
case RangeSupport() ⇒ withRangeSupport
|
||||
case SetCookie(cookie) ⇒ setCookie(cookie.asScala)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue