Package jakarta.faces.event
Class PostPutFlashValueEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.PostPutFlashValueEvent
- All Implemented Interfaces:
Serializable
public class PostPutFlashValueEvent extends SystemEvent
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
stored in the flash.
- Since:
- 2.2
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PostPutFlashValueEvent(FacesContext facesContext, String key)
Instantiate a newPostPutFlashValueEvent
that indicates the argumentkey
was just put to the flash.PostPutFlashValueEvent(String key)
Instantiate a newPostPutFlashValueEvent
that indicates the argumentkey
was just put to the flash. -
Method Summary
Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
Constructor Details
-
PostPutFlashValueEvent
Instantiate a new
PostPutFlashValueEvent
that indicates the argumentkey
was just put to 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.
-
PostPutFlashValueEvent
Instantiate a new
PostPutFlashValueEvent
that indicates the argumentkey
was just put to 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