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 TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) voiddoPostPhaseActions(FacesContext context) voiddoPrePhaseActions(FacesContext context) entrySet()A class that implements this interface uses this method to return an instance of the class being wrapped.booleanisEmpty()booleanbooleanvoidkeySet()voidvoidvoidsetKeepMessages(boolean newValue) voidsetRedirect(boolean newValue) intsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isKeepMessagesin classFlash
-
isRedirect
public boolean isRedirect()- Specified by:
isRedirectin classFlash
-
keep
-
putNow
-
setKeepMessages
public void setKeepMessages(boolean newValue) - Specified by:
setKeepMessagesin classFlash
-
setRedirect
public void setRedirect(boolean newValue) - Specified by:
setRedirectin classFlash
-
doPrePhaseActions
- Specified by:
doPrePhaseActionsin classFlash
-
doPostPhaseActions
- Specified by:
doPostPhaseActionsin classFlash
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getWrapped
Description copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
getWrappedin interfaceFacesWrapper<Flash>- Returns:
- the instance of the class being wrapped
-