Top Description Fields Constructors Methods
jakarta.faces.event

public Class PostPutFlashValueEvent

extends SystemEvent
Class Inheritance
Imports
jakarta.faces.context.FacesContext, .Flash

This event must be published by a call to jakarta.faces.application.Application#publishEvent when a value is stored in the flash.

Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PostPutFlashValueEvent(String
the key in the flash that was just added.
key
)

Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to the flash.

public
PostPutFlashValueEvent(FacesContext
the Faces context.
facesContext
,
String
the key in the flash that was just added.
key
)

Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to the flash.

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from jakarta.faces.event.SystemEvent:
getFacesContextisAppropriateListenerprocessListener

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.faces.event.SystemEvent.serialVersionUID.

Constructor Detail

PostPutFlashValueEventback to summary
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:String

the key in the flash that was just added.

PostPutFlashValueEventback to summary
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:FacesContext

the Faces context.

key:String

the key in the flash that was just added.

Method Detail

getKeyback to summary
public String getKey()