public class PreClearFlashEvent 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) before the flash
is cleared.
| Constructor and Description |
|---|
PreClearFlashEvent(FacesContext facesContext,
java.util.Map<java.lang.String,java.lang.Object> source)
Instantiate a new |
PreClearFlashEvent(java.util.Map<java.lang.String,java.lang.Object> source)
Instantiate a new |
getFacesContext, isAppropriateListener, processListenerpublic PreClearFlashEvent(java.util.Map<java.lang.String,java.lang.Object> source)
Instantiate a new PreClearFlashEvent that indicates the argument key was just put to the
flash.
source - Map containing the values about to be cleared This need not be the actual
Flash instance.java.lang.IllegalArgumentException - if the argument is null.public PreClearFlashEvent(FacesContext facesContext, java.util.Map<java.lang.String,java.lang.Object> source)
Instantiate a new PreClearFlashEvent that indicates the argument key was just put to the
flash.
facesContext - the Faces context.source - Map containing the values about to be cleared This need not be the actual
Flash instance.java.lang.IllegalArgumentException - if the argument is null.