org.springframework.security.util
Class RedirectUtils
java.lang.Object
org.springframework.security.util.RedirectUtils
public abstract class RedirectUtils
- extends Object
- Version:
- $Id$
- Author:
- Luke Taylor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sendRedirect
public static final void sendRedirect(HttpServletRequest request,
HttpServletResponse response,
String url,
boolean useRelativeContext)
throws IOException
- Encapsulates the redirect logic used in classes like
AbstractProcessingFilter and LogoutFilter.
- Parameters:
request - the incoming requestresponse - the response to redirecturl - the target url to redirect touseRelativeContext - if true, causes any redirection URLs to be calculated minus the protocol
and context path.
- Throws:
IOException- See Also:
AbstractProcessingFilter.setUseRelativeContext(boolean)
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.