Class ServerSessionMiddleware.Session

Enclosing class:

public static class ServerSessionMiddleware.Session extends Object
A thread-safe container for named SessionOptionValues.
  • Field Details

  • Method Details

    • getSessionOption

      public SessionOptionValue getSessionOption(String name)
      Get session option by name, or null if it does not exist.
    • getSessionOptions

      public Map<String,SessionOptionValue> getSessionOptions()
      Get an immutable copy of the session options map.
    • setSessionOption

      public void setSessionOption(String name, SessionOptionValue value)
      Set session option by name to given value.
    • eraseSessionOption

      public void eraseSessionOption(String name)
      Idempotently remove name from this session.