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
Since:
2.2
See Also:
  • Constructor Details

    • PostPutFlashValueEvent

      public PostPutFlashValueEvent(String key)

      Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to 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.
    • PostPutFlashValueEvent

      public PostPutFlashValueEvent(FacesContext facesContext, String key)

      Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to 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()