Class Session

java.lang.Object
io.vertx.mutiny.ext.shell.session.Session
All Implemented Interfaces:
MutinyDelegate

public class Session extends Object implements MutinyDelegate
A shell session.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • Session

      public Session(io.vertx.ext.shell.session.Session delegate)
    • Session

      public Session(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.shell.session.Session getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static Session create()
      Returns:
      the created session
    • put

      public Session put(String key, Object obj)
      Parameters:
      key - the key for the data
      obj - 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)