Represents a web storage type, that is either local or session storage.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
clear() Removes all data from the store. |
|
String |
getAt(String key) Returns a value stored under the given key in the storage.
|
|
Set<String> |
keySet() Returns a set of all keys for which values are stored. |
|
void |
putAt(String key, String value) Stores the value under the the given key in the storage.
|
|
void |
remove(String key) Removes the value stored under the given key . |
|
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 3.4.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org