KeyValueStoreUsingHttpSession

Implementation that uses the HttpSession to store key/value pairs.

API

KeyValueStoreUsingHttpSession.java
class KeyValueStoreUsingHttpSession {
  boolean isSessionAvailable()
  void put(String key, Serializable value)
  Optional<T> lookupAs(String key, Class<T> requiredType)
  void clear(String key)
}