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 SummaryFields inherited from class jakarta.faces.context.FlashNULL_VALUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
FlashWrapperDeprecated.
- 
FlashWrapper
 
- 
- 
Method Details- 
isKeepMessagespublic boolean isKeepMessages()- Specified by:
- isKeepMessagesin class- Flash
 
- 
isRedirectpublic boolean isRedirect()- Specified by:
- isRedirectin class- Flash
 
- 
keep
- 
putNow
- 
setKeepMessagespublic void setKeepMessages(boolean newValue) - Specified by:
- setKeepMessagesin class- Flash
 
- 
setRedirectpublic void setRedirect(boolean newValue) - Specified by:
- setRedirectin class- Flash
 
- 
doPrePhaseActions- Specified by:
- doPrePhaseActionsin class- Flash
 
- 
doPostPhaseActions- Specified by:
- doPostPhaseActionsin class- Flash
 
- 
sizepublic int size()
- 
isEmptypublic boolean isEmpty()
- 
containsKey- Specified by:
- containsKeyin interface- Map<String,- Object> 
 
- 
containsValue- Specified by:
- containsValuein interface- Map<String,- Object> 
 
- 
get
- 
put
- 
remove
- 
putAll
- 
clearpublic void clear()
- 
keySet
- 
values
- 
entrySet
- 
getWrappedDescription copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
- getWrappedin interface- FacesWrapper<Flash>
- Returns:
- the instance of the class being wrapped
 
 
-