Top Description Fields Constructors Methods
jakarta.faces.event

public Class PostKeepFlashValueEvent

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 kept in the flash.

Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PostKeepFlashValueEvent(String
the key in the flash that was just kept.
key
)

Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in the flash.

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

Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in 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

PostKeepFlashValueEventback to summary
public PostKeepFlashValueEvent(String key)

Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in 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 kept.

PostKeepFlashValueEventback to summary
public PostKeepFlashValueEvent(FacesContext facesContext, String key)

Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in 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 kept.

Method Detail

getKeyback to summary
public String getKey()