Top Fields Constructors Methods
com.sun.faces.context.flash

pack-priv Class SessionHelper

extends Object
implements Serializable, HttpSessionActivationListener
Class Inheritance
All Implemented Interfaces
jakarta.servlet.http.HttpSessionActivationListener, java.util.EventListener, java.io.Serializable
Imports
java.io.Serializable, java.util.Map, jakarta.faces.context.ExternalContext, jakarta.servlet.http.HttpSessionActivationListener, .HttpSessionEvent

Field Summary

Modifier and TypeField and Description
private boolean
private static final String
pack-priv static final String
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static SessionHelper
pack-priv void
remove(ExternalContext extContext)

public void
sessionDidActivate(HttpSessionEvent
the HttpSessionEvent indicating the activation of the session
hse
)

Overrides default jakarta.servlet.http.HttpSessionActivationListener.sessionDidActivate.

Notification that the session has just been activated.

public void
sessionWillPassivate(HttpSessionEvent
the HttpSessionEvent indicating the passivation of the session
hse
)

Overrides default jakarta.servlet.http.HttpSessionActivationListener.sessionWillPassivate.

Notification that the session is about to be passivated.

pack-priv void
update(ExternalContext extContext, ELFlash flash)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

didPassivateback to summary
private boolean didPassivate
FLASH_INNER_MAP_KEYback to summary
private static final String FLASH_INNER_MAP_KEY
FLASH_SESSIONACTIVATIONLISTENER_ATTRIBUTE_NAMEback to summary
pack-priv static final String FLASH_SESSIONACTIVATIONLISTENER_ATTRIBUTE_NAME
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SessionHelperback to summary
pack-priv SessionHelper()

Method Detail

getInstanceback to summary
pack-priv static SessionHelper getInstance(ExternalContext extContext)
removeback to summary
pack-priv void remove(ExternalContext extContext)
sessionDidActivateback to summary
public void sessionDidActivate(HttpSessionEvent hse)

Overrides default jakarta.servlet.http.HttpSessionActivationListener.sessionDidActivate.

Doc from jakarta.servlet.http.HttpSessionActivationListener.sessionDidActivate.

Notification that the session has just been activated.

Parameters
hse:HttpSessionEvent

the HttpSessionEvent indicating the activation of the session

Annotations
@Override
sessionWillPassivateback to summary
public void sessionWillPassivate(HttpSessionEvent hse)

Overrides default jakarta.servlet.http.HttpSessionActivationListener.sessionWillPassivate.

Doc from jakarta.servlet.http.HttpSessionActivationListener.sessionWillPassivate.

Notification that the session is about to be passivated.

Parameters
hse:HttpSessionEvent

the HttpSessionEvent indicating the passivation of the session

Annotations
@Override
updateback to summary
pack-priv void update(ExternalContext extContext, ELFlash flash)