org.picketlink.identity.federation.web.util
Class HTTPRedirectUtil
java.lang.Object
org.picketlink.identity.federation.web.util.HTTPRedirectUtil
public class HTTPRedirectUtil
- extends Object
Utility Class for http/redirect
- Since:
- Dec 15, 2008
- Author:
- Anil.Saldhana@redhat.com
Method Summary |
static void |
sendRedirectForRequestor(String destination,
javax.servlet.http.HttpServletResponse response)
Send the response to the redirected destination while adding the character encoding of "UTF-8" as well as adding headers
for cache-control and Pragma |
static void |
sendRedirectForResponder(String destination,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPRedirectUtil
public HTTPRedirectUtil()
sendRedirectForRequestor
public static void sendRedirectForRequestor(String destination,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Send the response to the redirected destination while adding the character encoding of "UTF-8" as well as adding headers
for cache-control and Pragma
- Parameters:
destination
- Destination URI where the response needs to redirectresponse
- HttpServletResponse
- Throws:
IOException
sendRedirectForResponder
public static void sendRedirectForResponder(String destination,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Throws:
IOException
- See Also:
sendRedirectForRequestor(String, HttpServletResponse)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.