+htp #16438 add Java-side rejection handling support

This commit is contained in:
Johannes Rudolph 2015-09-09 10:31:00 +02:00
parent 96ef8875c8
commit db1be86b02
11 changed files with 427 additions and 2 deletions

View file

@ -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)