Add a getRedirectResponse method