Package javax.faces.context
Class FlashWrapper
- java.lang.Object
-
- javax.faces.context.Flash
-
- javax.faces.context.FlashWrapper
-
- All Implemented Interfaces:
Map<String,Object>,FacesWrapper<Flash>
public abstract class FlashWrapper extends Flash implements FacesWrapper<Flash>
- Since:
- 2.2
-
-
Field Summary
-
Fields inherited from class javax.faces.context.Flash
NULL_VALUE
-
-
Constructor Summary
Constructors Constructor Description FlashWrapper()Deprecated.FlashWrapper(Flash delegate)
-
Method Summary
All 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.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 Detail
-
FlashWrapper
@Deprecated public FlashWrapper()
Deprecated.
-
FlashWrapper
public FlashWrapper(Flash delegate)
-
-
Method Detail
-
isKeepMessages
public boolean isKeepMessages()
- Specified by:
isKeepMessagesin classFlash
-
isRedirect
public boolean isRedirect()
- Specified by:
isRedirectin classFlash
-
setKeepMessages
public void setKeepMessages(boolean newValue)
- Specified by:
setKeepMessagesin classFlash
-
setRedirect
public void setRedirect(boolean newValue)
- Specified by:
setRedirectin classFlash
-
doPrePhaseActions
public void doPrePhaseActions(FacesContext context)
- Specified by:
doPrePhaseActionsin classFlash
-
doPostPhaseActions
public void doPostPhaseActions(FacesContext context)
- Specified by:
doPostPhaseActionsin classFlash
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Object>
-
getWrapped
public 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 interfaceFacesWrapper<Flash>- Returns:
- the instance of the class being wrapped
-
-