当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
RedirectFilter (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.web
Class RedirectFilter
java.lang.Object
org.jboss.seam.web.AbstractFilter
org.jboss.seam.web.RedirectFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- Direct Known Subclasses:
- SeamRedirectFilter
@Startup
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.servlet.redirectFilter")
@Install(precedence=0)
@Intercept(value=NEVER)
public class RedirectFilter
- extends AbstractFilter
Propagates the conversation context and page parameters across any
browser redirect initiated from a JSF navigation rule defined in
faces-config.xml. Note that this is no longer needed if all
navigation rules are defined in pages.xml.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedirectFilter
public RedirectFilter()
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
getViewId
public static String getViewId(String url)
getViewId
protected static String getViewId(String url,
String pathInfo,
String servletPath,
String contextPath)