jakarta.faces.context.ExternalContext#getSessionMap()
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static final String | |
| private final HttpServletRequest | |
| private final ProjectStage |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides com. 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)Overrides java. Implements java. Returns |
| public static void | |
| public boolean | equals(Object
object to be compared for equality with this map obj)Overrides java. Implements java. Compares the specified object with this map for equality. |
| public Object | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. Returns the value to which the specified key is mapped,
or |
| protected Iterator | |
| protected Iterator | |
| public static Object | |
| protected HttpSession | |
| protected Iterator | |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this map. |
| 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)Overrides java. Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<K, V>
mappings to be stored in this map t)Overrides com. Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Overrides com. Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public static void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MUTEX | back to summary |
|---|---|
| private static final String MUTEX | |
| request | back to summary |
|---|---|
| private final HttpServletRequest request | |
| stage | back to summary |
|---|---|
| private final ProjectStage stage | |
| SessionMap | back to summary |
|---|---|
| public SessionMap(HttpServletRequest request, ProjectStage stage) | |
| clear | back to summary |
|---|---|
| public void clear() Overrides com. 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) Overrides java. Implements java. Doc from java. Returns
| |
| createMutex | back to summary |
|---|---|
| public static void createMutex(HttpSession session) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares the specified object with this map for equality. Returns
| |
| get | back to summary |
|---|---|
| public Object get(Object key) Overrides java. 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
| |
| getEntryIterator | back to summary |
|---|---|
| protected Iterator Implements abstract com.
| |
| getKeyIterator | back to summary |
|---|---|
| protected Iterator Implements abstract com.
| |
| getMutex | back to summary |
|---|---|
| public static Object getMutex(Object session) | |
| getSession | back to summary |
|---|---|
| protected HttpSession getSession(boolean createNew) | |
| getValueIterator | back to summary |
|---|---|
| protected Iterator Implements abstract com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this map. The hash code of a map is
defined to be the sum of the hash codes of each entry in the map's
| |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Overrides java. 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<K, V> t) Overrides com. 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
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Overrides com. 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.
| |
| removeMutex | back to summary |
|---|---|
| public static void removeMutex(HttpSession session) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Mutex | back to summary |
|---|---|
| private Mutex() | |