|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.util.RedirectUtils
public abstract class RedirectUtils
Method Summary | |
---|---|
static void |
sendRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String url,
boolean useRelativeContext)
Encapsulates the redirect logic used in classes like AbstractProcessingFilter and LogoutFilter . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final void sendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String url, boolean useRelativeContext) throws java.io.IOException
AbstractProcessingFilter
and LogoutFilter
.
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.
java.io.IOException
AbstractProcessingFilter.setUseRelativeContext(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |