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 theoriginalnon 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 Sessioncreate()booleanequals(Object o)<T> Tget(String key)io.vertx.ext.shell.session.SessiongetDelegate()inthashCode()static SessionnewInstance(io.vertx.ext.shell.session.Session arg)Sessionput(String key, Object obj)<T> Tremove(String key)StringtoString()
-
-
-
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)
-
-