public class Session extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Session> |
__TYPE_ARG |
Constructor and Description |
---|
Session(Object delegate) |
Session(io.vertx.ext.shell.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
|
io.vertx.ext.shell.session.Session |
getDelegate() |
int |
hashCode() |
static Session |
newInstance(io.vertx.ext.shell.session.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 Session(io.vertx.ext.shell.session.Session delegate)
public Session(Object delegate)
public io.vertx.ext.shell.session.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 datapublic static Session newInstance(io.vertx.ext.shell.session.Session arg)
Copyright © 2021 Eclipse. All rights reserved.