Provides
a simple implementation of
Flash that can be subclassed by developers wishing
to provide specialized behavior to an existing Flash instance. The default implementation of all methods
is to call through to the wrapped Flash.
Usage: extend this class and push the implementation being wrapped to the
constructor and use getWrapped to access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private Flash |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FlashWrapper(Flash
The implementation being wrapped. wrapped)If this flash has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. The default behavior of this method
is to call |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. The default behavior of this method
is to call |
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. The default behavior of this method
is to call |
| public void | doPostPhaseActions(FacesContext
the ctx)FacesContext for this request.Implements abstract javax. The default behavior of this method
is to call |
| public void | doPrePhaseActions(FacesContext
the ctx)FacesContext for this request.Implements abstract javax. The default behavior of this method
is to call |
| public Set | entrySet()
Implements java. The default behavior of this method
is to call |
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. The default behavior of this method
is to call |
| public Flash | getWrapped()
Implements javax. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public boolean | isEmpty()
Implements java. The default behavior of this method
is to call |
| public boolean | isKeepMessages()
Implements abstract javax. The default behavior of this method
is to call |
| public boolean | isRedirect()
Implements abstract javax. The default behavior of this method
is to call |
| public void | keep(String
if argument key)key is the name of an entry
previously stored to the flash on this traversal through the
lifecycle via a call to putNow, or to a set to the EL
expression #{flash.now.<key>}, or to the
request Map, to be promoted to the flash as if a call
to put() or a set to the expression
#{flash.<key>} was being called.Implements abstract javax. The default behavior of this method
is to call |
| public Set | keySet()
Implements java. The default behavior of this method
is to call |
| public Object | |
| public void | putAll(Map<? extends String, ? extends Object>
mappings to be stored in this map m)Implements java. The default behavior of this method
is to call |
| public void | putNow(String
the key for this entry key, Object the value for this entry value)Implements abstract javax. The default behavior of this method
is to call |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. The default behavior of this method
is to call |
| public void | setKeepMessages(boolean
the new value for this property on this session. newValue)Implements abstract javax. The default behavior of this method
is to call |
| public void | setRedirect(boolean
the new value for this property on this session. newValue)Implements abstract javax. The default behavior of this method
is to call |
| public int | size()
Implements java. The default behavior of this method
is to call |
| public Collection | values()
Implements java. The default behavior of this method
is to call |
| wrapped | back to summary |
|---|---|
| private Flash wrapped | |
| FlashWrapper | back to summary |
|---|---|
| public FlashWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| FlashWrapper | back to summary |
|---|---|
| public FlashWrapper(Flash wrapped) If this flash has been decorated,
the implementation doing the decorating should push the implementation being wrapped to this constructor.
The
| |
| clear | back to summary |
|---|---|
| public void clear() Implements java. The default behavior of this method
is to call
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Implements java. The default behavior of this method
is to call
| |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements java. The default behavior of this method
is to call
| |
| doPostPhaseActions | back to summary |
|---|---|
| public void doPostPhaseActions(FacesContext ctx) Implements abstract javax. The default behavior of this method
is to call
| |
| doPrePhaseActions | back to summary |
|---|---|
| public void doPrePhaseActions(FacesContext ctx) Implements abstract javax. The default behavior of this method
is to call
| |
| entrySet | back to summary |
|---|---|
| public Set Implements java. The default behavior of this method
is to call | |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements java. The default behavior of this method
is to call
| |
| getWrapped | back to summary |
|---|---|
| public Flash getWrapped() Implements javax. Doc from javax. A class that implements this interface uses this method to return an instance of the class being wrapped. | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. The default behavior of this method
is to call
| |
| isKeepMessages | back to summary |
|---|---|
| public boolean isKeepMessages() Implements abstract javax. The default behavior of this method
is to call
| |
| isRedirect | back to summary |
|---|---|
| public boolean isRedirect() Implements abstract javax. The default behavior of this method
is to call
| |
| keep | back to summary |
|---|---|
| public void keep(String key) Implements abstract javax. The default behavior of this method
is to call
| |
| keySet | back to summary |
|---|---|
| public Set Implements java. The default behavior of this method
is to call
| |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Implements java. The default behavior of this method
is to call
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ? extends Object> m) Implements java. The default behavior of this method
is to call
| |
| putNow | back to summary |
|---|---|
| public void putNow(String key, Object value) Implements abstract javax. The default behavior of this method
is to call
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Implements java. The default behavior of this method
is to call
| |
| setKeepMessages | back to summary |
|---|---|
| public void setKeepMessages(boolean newValue) Implements abstract javax. The default behavior of this method
is to call
| |
| setRedirect | back to summary |
|---|---|
| public void setRedirect(boolean newValue) Implements abstract javax. The default behavior of this method
is to call
| |
| size | back to summary |
|---|---|
| public int size() Implements java. The default behavior of this method
is to call
| |
| values | back to summary |
|---|---|
| public Collection Implements java. The default behavior of this method
is to call
| |