Interface SessionAttributes

    • Method Detail

      • 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.