Open buckyball opened 13 years ago
I think "before" and "after" filters are great ideas, I just haven't had time to put any code together for them. If you want to submit a patch, I'd be glad to look at it; otherwise, I think this will have to wait for the next release.
How would you add a "before filter" to intercept requests ? I implemented some quick before filter like this:
RatpackServlet.groovy:
But what I'm missing now is some sort of wildcard route like that:
Or:
to apply the filter to every request.