Package: io.vertx.groovy.ext.shell

## [Groovy] Class Session

- io.vertx.groovy.ext.shell.Session

- A shell session.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Session (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `T` | `get(String key)` Get some data from the session
    `Object` | `getDelegate()`
    `Session` | `put(String key, Object obj)` Put some data in a session
    `T` | `remove(String key)` Remove some data from the session

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### Session(Object delegate)

  - ### Method Detail

    - #### T get(String key)

      Get some data from the session

      Returns:
        the data
      Parameters:
        `key` - the key of the data

    - #### Object getDelegate()

    - #### Session put(String key, Object obj)

      Put some data in a session

      Returns:
        a reference to this, so the API can be used fluently
      Parameters:
        `key` - the key for the data
        `obj` - the data

    - #### T remove(String key)

      Remove some data from the session

      Returns:
        the data that was there or null if none there
      Parameters:
        `key` - the key of the data