public class Session extends Object
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
void |
add(Key<?> key,
SessionValue<?> value)
Add/overwrite a SV.
|
void |
addAll(Session other)
Add all entries in the other session to this one
|
void |
addValue(Key<?> key,
Object value)
Convenience method
|
void |
clear() |
boolean |
contains(Key<?> key) |
<T> SessionValue<T> |
get(Key<T> key) |
Set<Key<?>> |
keys() |
String |
toString()
Convenient for debugging
|
public void add(Key<?> key, SessionValue<?> value)
public void addAll(Session other)
public <T> SessionValue<T> get(Key<T> key)
public boolean contains(Key<?> key)
public void clear()
Copyright © 2016. All rights reserved.