public interface Session
Modifier and Type | Method and Description |
---|---|
static Session |
create()
Create a new empty session.
|
<T> T |
get(String key)
Get some data from the session
|
Session |
put(String key,
Object obj)
Put some data in a session
|
<T> T |
remove(String key)
Remove some data from the session
|
static Session create()
Session put(String key, Object obj)
key
- the key for the dataobj
- the data<T> T get(String key)
key
- the key of the data<T> T remove(String key)
key
- the key of the dataCopyright © 2021 Eclipse. All rights reserved.