| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. true if this map contains a mapping for the specified
key.
|
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. true if this map maps one or more keys to the
specified value.
|
| public void | doPostPhaseActions(FacesContext
the ctx)FacesContext for this request.Implements abstract javax. Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle. |
| public void | doPrePhaseActions(FacesContext
the ctx)FacesContext for this request.Implements abstract javax. Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle. |
| public Set | entrySet()
Implements java. Set view of the mappings contained in this map.
|
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. null if this map contains no mapping for the key.
|
| public boolean | |
| public boolean | isKeepMessages()
Implements abstract javax. Return the value of this JavaBeans property for the flash for this session. |
| public boolean | isRedirect()
Implements abstract javax. Return the value of this property for the flash for this session. |
| 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. Causes a value stored with a
previous call to |
| public Set | |
| public Object | put(String
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Implements java. |
| public void | putAll(Map<? extends String, ? extends Object>
mappings to be stored in this map m)Implements java. |
| public void | putNow(String
the key for this entry key, Object the value for this entry value)Implements abstract javax. Puts a value in the flash so that it can be accessed on this traversal of the lifecycle, rather than on the next traversal. |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. |
| public void | setKeepMessages(boolean
the new value for this property on this session. newValue)Implements abstract javax. Setter for |
| public void | setRedirect(boolean
the new value for this property on this session. newValue)Implements abstract javax. Setting this property to
|
| public int | |
| public Collection | values()
Implements java. Collection view of the values contained in this map.
|
| NoOpFlash | back to summary |
|---|---|
| public NoOpFlash() | |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Implements java. Doc from java. Returns | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements java. Doc from java. Returns | |
| doPostPhaseActions | back to summary |
|---|---|
| public void doPostPhaseActions(FacesContext ctx) Implements abstract javax. Doc from javax. Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
| |
| doPrePhaseActions | back to summary |
|---|---|
| public void doPrePhaseActions(FacesContext ctx) Implements abstract javax. Doc from javax. Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
| |
| entrySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| isKeepMessages | back to summary |
|---|---|
| public boolean isKeepMessages() Implements abstract javax. Doc from javax. Return the value of this JavaBeans
property for the flash for this session. This value determines
whether or not any EL Usage Example
| |
| isRedirect | back to summary |
|---|---|
| public boolean isRedirect() Implements abstract javax. Doc from javax. Return the value of this property
for the flash for this session. This must be
| |
| keep | back to summary |
|---|---|
| public void keep(String key) Implements abstract javax. Doc from javax. Causes a value stored with a
previous call to
| |
| keySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ? extends Object> m) Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling | |
| putNow | back to summary |
|---|---|
| public void putNow(String key, Object value) Implements abstract javax. Doc from javax. Puts a value in the flash so that it can be accessed on this traversal of the lifecycle, rather than on the next traversal. This is simply an alias for putting a value in the request map. EL Usage Example
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns. | |
| setKeepMessages | back to summary |
|---|---|
| public void setKeepMessages(boolean newValue) Implements abstract javax. Doc from javax. Setter for
| |
| setRedirect | back to summary |
|---|---|
| public void setRedirect(boolean newValue) Implements abstract javax. Doc from javax. Setting this property to
EL Usage Example
| |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| values | back to summary |
|---|---|
| public Collection Implements java. Doc from java. Returns a
| |