Interface ExtensionSession


  • public interface ExtensionSession
    A short lived container used to store extensions manipulations related data which can be disposed.

    Any entry value implementing Closeable will be called when the session is destroyed.

    Since:
    12.10
    Version:
    $Id: 566c01b53e7fd86e7768e9355abfee8ca02d0d5d $
    • Method Detail

      • set

        void set​(String key,
                 Object value)
        Parameters:
        key - the key associated to the session entry
        value - the value
      • get

        <T> T get​(String key)
        Type Parameters:
        T - the type of value associated with the passed key
        Parameters:
        key - the key associated to the session entry
        Returns:
        the value associated to the passed key