public interface RedirectStrategy
Modifier and Type | Method and Description |
---|---|
void |
sendRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String url)
Performs a redirect to the supplied URL
|
void sendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url) throws IOException
request
- the current requestresponse
- the response to redirecturl
- the target URL to redirect to, for example "/login"IOException