Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Session> |
__TYPE_ARG |
Constructor and Description |
---|
Session(Object delegate) |
Session(Session delegate) |
Modifier and Type | Method and Description |
---|---|
static Session |
create()
Create a new empty session.
|
boolean |
equals(Object o) |
<T> T |
get(String key)
Get some data from the session
|
Session |
getDelegate() |
int |
hashCode() |
static Session |
newInstance(Session arg) |
Session |
put(String key,
Object obj)
Put some data in a session
|
<T> T |
remove(String key)
Remove some data from the session
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Session> __TYPE_ARG
public Session getDelegate()
public static Session create()
public Session put(String key, Object obj)
key
- the key for the dataobj
- the datapublic <T> T get(String key)
key
- the key of the datapublic <T> T remove(String key)
key
- the key of the dataCopyright © 2024 Eclipse. All rights reserved.