Hi,

On Fri, Jan 31, 2020 at 9:11 AM Ian Boston <i...@tfd.co.uk> wrote:
..
> 1 https://gist.github.com/ieb/5f217e2c160afb7bb4098bca99896621
...

The RedirectResolver gets an HttpServletRequest, shouldn't that be a
SlingHttpServletRequest to be able to get at the Resource, selectors
etc?

I understand the Resource can come from having used adaptTo before,
but other request attributes might influence the redirect and we have
them already parsed in SlingHttpServletRequest.

And a nitpick, in RedirectResponse I would make -1 a constant, NO_REDIRECT.

-Bertrand

Reply via email to