Package jakarta.faces.context
Class FlashWrapper
java.lang.Object
jakarta.faces.context.Flash
jakarta.faces.context.FlashWrapper
- All Implemented Interfaces:
FacesWrapper<Flash>
,Map<String,
Object>
- Since:
- 2.2
-
Nested Class Summary
-
Field Summary
Fields inherited from class jakarta.faces.context.Flash
NULL_VALUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) void
doPostPhaseActions
(FacesContext context) void
doPrePhaseActions
(FacesContext context) entrySet()
A class that implements this interface uses this method to return an instance of the class being wrapped.boolean
isEmpty()
boolean
boolean
void
keySet()
void
void
void
setKeepMessages
(boolean newValue) void
setRedirect
(boolean newValue) int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
FlashWrapper
Deprecated. -
FlashWrapper
-
-
Method Details
-
isKeepMessages
public boolean isKeepMessages()- Specified by:
isKeepMessages
in classFlash
-
isRedirect
public boolean isRedirect()- Specified by:
isRedirect
in classFlash
-
keep
-
putNow
-
setKeepMessages
public void setKeepMessages(boolean newValue) - Specified by:
setKeepMessages
in classFlash
-
setRedirect
public void setRedirect(boolean newValue) - Specified by:
setRedirect
in classFlash
-
doPrePhaseActions
- Specified by:
doPrePhaseActions
in classFlash
-
doPostPhaseActions
- Specified by:
doPostPhaseActions
in classFlash
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getWrapped
Description copied from interface:FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
getWrapped
in interfaceFacesWrapper<Flash>
- Returns:
- the instance of the class being wrapped
-