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>
 
 public abstract class FlashWrapper extends Flash implements FacesWrapper<Flash> - Since:
- 2.2
 
- 
- 
Field Summary- 
Fields inherited from class jakarta.faces.context.FlashNULL_VALUE
 
- 
 - 
Constructor SummaryConstructors Constructor Description FlashWrapper()Deprecated.FlashWrapper(Flash delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)voiddoPostPhaseActions(FacesContext context)voiddoPrePhaseActions(FacesContext context)Set<Map.Entry<String,Object>>entrySet()Objectget(Object key)FlashgetWrapped()A class that implements this interface uses this method to return an instance of the class being wrapped.booleanisEmpty()booleanisKeepMessages()booleanisRedirect()voidkeep(String key)Set<String>keySet()Objectput(String key, Object value)voidputAll(Map<? extends String,? extends Object> m)voidputNow(String key, Object value)Objectremove(Object key)voidsetKeepMessages(boolean newValue)voidsetRedirect(boolean newValue)intsize()Collection<Object>values()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
 
- 
 
- 
- 
- 
Constructor Detail- 
FlashWrapper@Deprecated public FlashWrapper() Deprecated.
 - 
FlashWrapperpublic FlashWrapper(Flash delegate) 
 
- 
 - 
Method Detail- 
isKeepMessagespublic boolean isKeepMessages() - Specified by:
- isKeepMessagesin class- Flash
 
 - 
isRedirectpublic boolean isRedirect() - Specified by:
- isRedirectin class- Flash
 
 - 
setKeepMessagespublic void setKeepMessages(boolean newValue) - Specified by:
- setKeepMessagesin class- Flash
 
 - 
setRedirectpublic void setRedirect(boolean newValue) - Specified by:
- setRedirectin class- Flash
 
 - 
doPrePhaseActionspublic void doPrePhaseActions(FacesContext context) - Specified by:
- doPrePhaseActionsin class- Flash
 
 - 
doPostPhaseActionspublic void doPostPhaseActions(FacesContext context) - Specified by:
- doPostPhaseActionsin class- Flash
 
 - 
containsKeypublic boolean containsKey(Object key) - Specified by:
- containsKeyin interface- Map<String,Object>
 
 - 
containsValuepublic boolean containsValue(Object value) - Specified by:
- containsValuein interface- Map<String,Object>
 
 - 
getWrappedpublic Flash 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 interface- FacesWrapper<Flash>
- Returns:
- the instance of the class being wrapped
 
 
- 
 
-