Interface SessionData

All Superinterfaces:
Serializable
All Known Implementing Classes:
SessionDataImpl

public interface SessionData extends Serializable
Interface to work with current session and its attributes.
  • Method Details

    • getAttributeNames

      Collection<String> getAttributeNames()
      Returns all session attributes.
    • getAttribute

      Object getAttribute(String name)
      Get session attribute value.
    • setAttribute

      void setAttribute(String name, Object attribute)
      Set session attribute value.
    • getSessionId

      String getSessionId()
      Returns current session id.