Package jakarta.faces.event
Class PreRemoveFlashValueEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.PreRemoveFlashValueEvent
- All Implemented Interfaces:
Serializable
This event must be published by a call to Application.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)
when a value is
removed from the flash.
- Since:
- 2.2
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPreRemoveFlashValueEvent
(FacesContext facesContext, String key) Instantiate a newPreRemoveFlashValueEvent
that indicates the argumentkey
will be removed from the flash.Instantiate a newPreRemoveFlashValueEvent
that indicates the argumentkey
will be removed from the flash. -
Method Summary
Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PreRemoveFlashValueEvent
Instantiate a new
PreRemoveFlashValueEvent
that indicates the argumentkey
will be removed from the flash. If the argument isnull
, the literalFlash.NULL_VALUE
must be passed to the superclass constructor.- Parameters:
key
- the key in the flash that was just added.
-
PreRemoveFlashValueEvent
Instantiate a new
PreRemoveFlashValueEvent
that indicates the argumentkey
will be removed from the flash. If the argument isnull
, the literalFlash.NULL_VALUE
must be passed to the superclass constructor.- Parameters:
facesContext
- the Faces context.key
- the key in the flash that was just added.
-
-
Method Details
-
getKey
-