Interface SessionStorage

  • All Known Implementing Classes:

    public interface SessionStorage
    Represents the session storage in the browser for the site currently opened in the browser. The session storage areas is specific to the current top level browsing context. Each context has a unique set of session storage, one for each origin. Sites can add data to the session storage and it will be accessible to any page from the same site opened in that window.
    • Method Detail

      • getItem

        java.lang.String getItem​(java.lang.String key)
      • keySet

        java.util.Set<java.lang.String> keySet()
      • setItem

        void setItem​(java.lang.String key,
                     java.lang.String value)
      • removeItem

        java.lang.String removeItem​(java.lang.String key)
      • clear

        void clear()
      • size

        int size()