Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`RedirectFilter()`

Method Summary
`void` | `doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)`
`static String` | `getViewId(String url)`
`protected static String` | `getViewId(String url, String pathInfo, String servletPath, String contextPath)`

Methods inherited from class org.jboss.seam.web.AbstractFilter
`destroy, getRegexUrlPattern, getServletContext, getUrlPattern, init, isDisabled, isMappedToCurrentRequestPath, setDisabled, setRegexUrlPattern, setUrlPattern`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RedirectFilter

    public RedirectFilter()

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.