+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

@ -46,6 +46,8 @@ private[http] final case class RequestContextImpl(underlying: ScalaRequestContex
def notFound(): RouteResult = underlying.reject()
def reject(customRejection: CustomRejection): RouteResult = underlying.reject(CustomRejectionWrapper(customRejection))
def executionContext(): ExecutionContext = underlying.executionContext
def materializer(): Materializer = underlying.materializer
}