Package org.cometd.javascript
Class SessionStorage
- java.lang.Object
-
- org.cometd.javascript.SessionStorage
-
public class SessionStorage extends java.lang.Object
Representation of the
window.sessionStorage
object in the JavaScript environment.The actual store must survive page reloads.
-
-
Constructor Summary
Constructors Constructor Description SessionStorage(java.util.Map<java.lang.String,java.lang.String> store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getItem(java.lang.String key)
void
removeItem(java.lang.String key)
void
setItem(java.lang.String key, java.lang.String value)
-