org.jboss.seam.exception
Class ConfigRedirectHandler

java.lang.Object
  extended by org.jboss.seam.faces.Navigator
      extended by org.jboss.seam.exception.ExceptionHandler
          extended by org.jboss.seam.exception.RedirectHandler
              extended by org.jboss.seam.exception.ConfigRedirectHandler

public final class ConfigRedirectHandler
extends RedirectHandler

Implements <redirect/> for pages.xml

Author:
Gavin King

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.seam.exception.ExceptionHandler
ExceptionHandler.LogLevel
 
Constructor Summary
ConfigRedirectHandler(Expressions.ValueExpression<String> id, Class clazz, boolean conversation, String message, javax.faces.application.FacesMessage.Severity messageSeverity)
          Construct a ConfigRedirectHandler.
ConfigRedirectHandler(String id, Class clazz, boolean conversation, String message, javax.faces.application.FacesMessage.Severity messageSeverity)
          Deprecated. 
 
Method Summary
protected  String getMessage(Exception e)
           
 javax.faces.application.FacesMessage.Severity getMessageSeverity(Exception e)
           
protected  String getViewId(Exception e)
           
protected  boolean isEnd(Exception e)
           
 boolean isHandler(Exception e)
           
 
Methods inherited from class org.jboss.seam.exception.RedirectHandler
handle, toString
 
Methods inherited from class org.jboss.seam.exception.ExceptionHandler
getLogLevel, isLogEnabled, setLogEnabled, setLogLevel
 
Methods inherited from class org.jboss.seam.faces.Navigator
addFacesMessage, error, getDisplayMessage, redirect, redirect, redirectExternal, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigRedirectHandler

public ConfigRedirectHandler(Expressions.ValueExpression<String> id,
                             Class clazz,
                             boolean conversation,
                             String message,
                             javax.faces.application.FacesMessage.Severity messageSeverity)
Construct a ConfigRedirectHandler.


ConfigRedirectHandler

@Deprecated
public ConfigRedirectHandler(String id,
                                        Class clazz,
                                        boolean conversation,
                                        String message,
                                        javax.faces.application.FacesMessage.Severity messageSeverity)
Deprecated. 

Method Detail

getMessage

protected String getMessage(Exception e)
Specified by:
getMessage in class RedirectHandler

getViewId

protected String getViewId(Exception e)
Specified by:
getViewId in class RedirectHandler

isHandler

public boolean isHandler(Exception e)
Specified by:
isHandler in class ExceptionHandler

isEnd

protected boolean isEnd(Exception e)
Specified by:
isEnd in class RedirectHandler

getMessageSeverity

public javax.faces.application.FacesMessage.Severity getMessageSeverity(Exception e)
Specified by:
getMessageSeverity in class RedirectHandler


Copyright © 2011 Seam Framework. All Rights Reserved.