Package jakarta.faces.event
Class PostKeepFlashValueEvent
- java.lang.Object
-
- java.util.EventObject
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.PostKeepFlashValueEvent
-
- All Implemented Interfaces:
Serializable
public class PostKeepFlashValueEvent 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 kept in the flash.- Since:
- 2.2
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PostKeepFlashValueEvent(FacesContext facesContext, String key)Instantiate a newPostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash.PostKeepFlashValueEvent(String key)Instantiate a newPostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()-
Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
PostKeepFlashValueEvent
public PostKeepFlashValueEvent(String key)
Instantiate a new
PostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash. If the argument isnull, the literalFlash.NULL_VALUEmust be passed to the superclass constructor.- Parameters:
key- the key in the flash that was just kept.
-
PostKeepFlashValueEvent
public PostKeepFlashValueEvent(FacesContext facesContext, String key)
Instantiate a new
PostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash. If the argument isnull, the literalFlash.NULL_VALUEmust be passed to the superclass constructor.- Parameters:
facesContext- the Faces context.key- the key in the flash that was just kept.
-
-
Method Detail
-
getKey
public String getKey()
-
-