Interface SessionAttributes
- All Superinterfaces:
AutoCloseable,Map<String,Object>
- All Known Implementing Classes:
AbstractSessionAttributes,CoarseSessionAttributes,DetachedSessionAttributes,FineSessionAttributes
Encapsulates the lifecycle of the attributes of a session.
- Author:
- Paul Ferraro
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclear()voidclose()default booleancontainsKey(Object key) default booleancontainsValue(Object value) default booleanisEmpty()default voidAdds the specified entry to this map.default voiddefault intsize()Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, entrySet, equals, forEach, get, getOrDefault, hashCode, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, values
-
Method Details
-
size
default int size() -
isEmpty
default boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
putAll
-
put
Adds the specified entry to this map.- Parameters:
entry- a map entry
-
clear
default void clear() -
close
void close()- Specified by:
closein interfaceAutoCloseable
-