Interface SessionAttributes

All Superinterfaces:
ImmutableSessionAttributes
All Known Implementing Classes:
OOBSession

public interface SessionAttributes extends ImmutableSessionAttributes
Exposes accesses to the attributes of a session.
Author:
Paul Ferraro
  • Method Details

    • removeAttribute

      Object removeAttribute(String name)
      Removes the specified attribute.
      Parameters:
      name - a unique attribute name
      Returns:
      the removed attribute value, or null if the attribute does not exist.
    • setAttribute

      Object setAttribute(String name, Object value)
      Sets the specified attribute to the specified value.
      Parameters:
      name - a unique attribute name
      value - the attribute value
      Returns:
      the old attribute value, or null if the attribute did not previously exist.