Class Session
- java.lang.Object
-
- io.vertx.mutiny.ext.shell.session.Session
-
public class Session extends Object
A shell session. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Session>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Session
create()
boolean
equals(Object o)
<T> T
get(String key)
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)
<T> T
remove(String key)
String
toString()
-
-
-
Constructor Detail
-
Session
public Session(io.vertx.ext.shell.session.Session delegate)
-
Session
public Session(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.shell.session.Session getDelegate()
-
create
public static Session create()
- Returns:
- the created session
-
put
public Session put(String key, Object obj)
- Parameters:
key
- the key for the dataobj
- the data- Returns:
- a reference to this, so the API can be used fluently
-
get
public <T> T get(String key)
- Parameters:
key
- the key of the data- Returns:
- the data
-
remove
public <T> T remove(String key)
- Parameters:
key
- the key of the data- Returns:
- the data that was there or null if none there
-
newInstance
public static Session newInstance(io.vertx.ext.shell.session.Session arg)
-
-