Class PreRemoveFlashValueEvent

java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.PreRemoveFlashValueEvent
All Implemented Interfaces:
Serializable

public class PreRemoveFlashValueEvent extends SystemEvent
Since:
2.2
See Also:
  • Constructor Details

    • PreRemoveFlashValueEvent

      public PreRemoveFlashValueEvent(String key)

      Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be removed from the flash. If the argument is null, the literal Flash.NULL_VALUE must be passed to the superclass constructor.

      Parameters:
      key - the key in the flash that was just added.
    • PreRemoveFlashValueEvent

      public PreRemoveFlashValueEvent(FacesContext facesContext, String key)

      Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be removed from the flash. If the argument is null, the literal Flash.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

      public String getKey()