org.springframework.security.web
Interface RedirectStrategy
- All Known Implementing Classes:
- DefaultRedirectStrategy
public interface RedirectStrategy
Encapsulates the redirection logic for all classes in the framework which perform redirects.
- Since:
- 3.0
- Version:
- $Id$
- Author:
- Luke Taylor
sendRedirect
void sendRedirect(HttpServletRequest request,
HttpServletResponse response,
String url)
throws IOException
- Performs a redirect to the supplied URL
- Parameters:
request
- the current requestresponse
- the response to redirecturl
- the target URL to redirect to, for example "/login"
- Throws:
IOException
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.