Class Session


  • public class Session
    extends Object
    A shell session.

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

    • Constructor Detail

      • Session

        public Session​(Session delegate)
      • Session

        public Session​(Object delegate)
    • Method Detail

      • hashCode

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

        public Session getDelegate()
      • create

        public static Session create()
        Create a new empty session.
        Returns:
        the created session
      • put

        public Session put​(String key,
                           Object obj)
        Put some data in a session
        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)
        Get some data from the session
        Parameters:
        key - the key of the data
        Returns:
        the data
      • remove

        public <T> T remove​(String key)
        Remove some data from the session
        Parameters:
        key - the key of the data
        Returns:
        the data that was there or null if none there