On 15/03/2017 16:26, 'Johannes Rudolph' via Akka User List wrote:
yes, that's a valid use case. The route tree is usually traversed
completely until a Route matches. But if you know that the search can be
cut short, then `seal` is definitely a good solution.
That's exactly the case here -
Hi Alan,
yes, that's a valid use case. The route tree is usually traversed
completely until a Route matches. But if you know that the search can be
cut short, then `seal` is definitely a good solution. Another solution
would be to use only `handleRejections` which would have the advantage that
Anyone have any suggestions? Thanks!
On 07/03/17 22:32, Alan Burlison wrote:
I have an Akka HTTP route for a REST API that first checks the base path,
then checks the user authentication is valid, adds some custom headers and
extracts the base URI before processing the sub-routes. However if