Klasse ViewExpiredExceptionHandler

java.lang.Object
jakarta.faces.context.ExceptionHandler
jakarta.faces.context.ExceptionHandlerWrapper
org.imixs.workflow.faces.util.ViewExpiredExceptionHandler
Alle implementierten Schnittstellen:
jakarta.faces.event.FacesListener, jakarta.faces.event.SystemEventListener, jakarta.faces.FacesWrapper<jakarta.faces.context.ExceptionHandler>, EventListener

public class ViewExpiredExceptionHandler extends jakarta.faces.context.ExceptionHandlerWrapper
This class is used to handle expired sessions. In case a session was expired the handler caught the ViewExpiredException and redirects into a new page. This class expects a jsf page called 'sessionexpired.xhtml' in the web root context!
Autor:
rsoika
Siehe auch:
  • Ungültige Referenz
    burns ' dealing_gracefully_with_viewexpiredexception'
     
          https://www.nofluffjuststuff.com/blog/ed_burns/2009/09/
          dealing_gracefully_with_viewexpiredexception_in_jsf2
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    ViewExpiredExceptionHandler(jakarta.faces.context.ExceptionHandler wrapped)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    jakarta.faces.context.ExceptionHandler
     
    void
     

    Von Klasse geerbte Methoden jakarta.faces.context.ExceptionHandlerWrapper

    getHandledExceptionQueuedEvent, getHandledExceptionQueuedEvents, getRootCause, getUnhandledExceptionQueuedEvents, isListenerForSource, processEvent

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ViewExpiredExceptionHandler

      public ViewExpiredExceptionHandler(jakarta.faces.context.ExceptionHandler wrapped)
  • Methodendetails

    • getWrapped

      public jakarta.faces.context.ExceptionHandler getWrapped()
      Angegeben von:
      getWrapped in Schnittstelle jakarta.faces.FacesWrapper<jakarta.faces.context.ExceptionHandler>
      Setzt außer Kraft:
      getWrapped in Klasse jakarta.faces.context.ExceptionHandlerWrapper
    • handle

      public void handle() throws jakarta.faces.FacesException
      Setzt außer Kraft:
      handle in Klasse jakarta.faces.context.ExceptionHandlerWrapper
      Löst aus:
      jakarta.faces.FacesException