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
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.web.redirectFilter")
@Install(precedence=0,
classDependencies="javax.faces.context.FacesContext")
@BypassInterceptors
@Filter(within="org.jboss.seam.web.ajax4jsfFilter")
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)
Copyright © 2011 Seam Framework. All Rights Reserved.