| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. Returns |
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. Returns |
| public void | doPostPhaseActions(FacesContext
the ctx)FacesContext for this request.Implements abstract jakarta. 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 jakarta. 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. Returns a |
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. Returns the value to which the specified key is mapped,
or |
| public boolean | |
| public boolean | isKeepMessages()
Implements abstract jakarta. Return the value of this JavaBeans property for the flash for this session. |
| public boolean | isRedirect()
Implements abstract jakarta. 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 jakarta.
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. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends String, ? extends Object>
mappings to be stored in this map m)Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public void | putNow(String
the key for this entry key, Object the value for this entry value)Implements abstract jakarta. 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. Removes the mapping for a key from this map if it is present (optional operation). |
| public void | setKeepMessages(boolean
the new value for this property on this session. newValue)Implements abstract jakarta.
Setter for |
| public void | setRedirect(boolean
the new value for this property on this session. newValue)Implements abstract jakarta.
Setting this property to |
| public int | |
| public Collection | values()
Implements java. Returns a |
| 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 jakarta. Doc from jakarta. 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 jakarta. Doc from jakarta. 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 jakarta. Doc from jakarta.
Return the value of this JavaBeans property for the flash for this session. This value determines whether or not any
Jakarta Expression Language Usage Example
| |
| isRedirect | back to summary |
|---|---|
| public boolean isRedirect() Implements abstract jakarta. Doc from jakarta.
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 jakarta. Doc from jakarta.
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 jakarta. Doc from jakarta. 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. Jakarta Expression Language 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 jakarta. Doc from jakarta.
Setter for
| |
| setRedirect | back to summary |
|---|---|
| public void setRedirect(boolean newValue) Implements abstract jakarta. Doc from jakarta.
Setting this property to Jakarta Expression Language 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
| |