|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.util.DefaultSessionData
public class DefaultSessionData
A simple session data storage backed by a thread-safe map.
Constructor Summary | |
---|---|
DefaultSessionData()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.Object key)
Gets the session data associated with the specified key. |
void |
set(java.lang.Object key,
java.lang.Object value)
Associates the specified session data with the given key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSessionData()
Method Detail |
---|
public void set(java.lang.Object key, java.lang.Object value)
SessionData
set
in interface SessionData
key
- The key under which to store the session data, must not be null
.value
- The data to associate with the key, may be null
to remove the mapping.public java.lang.Object get(java.lang.Object key)
SessionData
get
in interface SessionData
key
- The key for which to retrieve the session data, must not be null
.
null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |