Class StorageHolder
java.lang.Object
org.htmlunit.StorageHolder
- All Implemented Interfaces:
Serializable
Holder for different types of storages.
Experimental API: May be changed in next release!
- Author:
- Ahmed Ashour, Ronald Brill, Marc Guillemot
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocalStorage(URL url) Gets the local storage (map).getSessionStorage(WebWindow webWindow) Gets the local storage (map).getStore(StorageHolder.Type storageType, Page page) Gets the store of the give type for the page.
-
Constructor Details
-
StorageHolder
public StorageHolder()
-
-
Method Details
-
getStore
Gets the store of the give type for the page.- Parameters:
storageType- the typepage- the page- Returns:
- the store
-
getLocalStorage
-
getSessionStorage
-