Class StorageId


  • public class StorageId
    extends java.lang.Object
    DOM Storage identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      StorageId​(java.util.Optional<java.lang.String> securityOrigin, java.util.Optional<SerializedStorageKey> storageKey, java.lang.Boolean isLocalStorage)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getIsLocalStorage()
      Whether the storage is local storage (not session storage).
      java.util.Optional<java.lang.String> getSecurityOrigin()
      Security origin for the storage.
      java.util.Optional<SerializedStorageKey> getStorageKey()
      Represents a key by which DOM Storage keys its CachedStorageAreas
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StorageId

        public StorageId​(java.util.Optional<java.lang.String> securityOrigin,
                         java.util.Optional<SerializedStorageKey> storageKey,
                         java.lang.Boolean isLocalStorage)
    • Method Detail

      • getSecurityOrigin

        public java.util.Optional<java.lang.String> getSecurityOrigin()
        Security origin for the storage.
      • getStorageKey

        public java.util.Optional<SerializedStorageKey> getStorageKey()
        Represents a key by which DOM Storage keys its CachedStorageAreas
      • getIsLocalStorage

        public java.lang.Boolean getIsLocalStorage()
        Whether the storage is local storage (not session storage).