interface WebStorage
Represents a web storage type, that is either local or session storage.
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
clear() Removes all data from the store. |
|
abstract String |
getAt(String key) Returns a value stored under the given key in the storage.
|
|
abstract Set<String> |
keySet() Returns a set of all keys for which values are stored. |
|
abstract void |
putAt(String key, String value) Stores the value under the the given key in the storage.
|
|
abstract void |
remove(String key) Removes the value stored under the given key . |
|
abstract int |
size() Returns the number of keys for which values are stored. |
Removes all data from the store.
Returns a value stored under the given key
in the storage.
Adds support for using subscript operator for reading values.
Stores the value
under the the given key
in the storage.
Adds support for using subscript operator for writing values values.
Removes the value stored under the given key
.
Returns the number of keys for which values are stored.
Groovy API Documentation for Geb 5.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org