Package com.priint.pubserver.session
Class PubServerMap
java.lang.Object
com.priint.pubserver.session.PubServerMap
- All Implemented Interfaces:
Serializable
Map of attributes of simple pubserver.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPubServerMap(Map<String, Object> map) The constructor which set map with session attributes -
Method Summary
Modifier and TypeMethodDescriptiongetMap()voidPut new element into session attribute mapRemove element from session attribute mapvoidSet map with all session attributes
-
Constructor Details
-
PubServerMap
public PubServerMap()Default constructor -
PubServerMap
The constructor which set map with session attributes
-
-
Method Details
-
getMap
- Returns:
- Map with all session attributes
-
setMap
Set map with all session attributes -
get
- Parameters:
key- Session attribute key- Returns:
- Object from all session attributes map
-
put
Put new element into session attribute map- Parameters:
key- Session attribute keyobject- Session attribute object
-
remove
Remove element from session attribute map- Parameters:
key- Session attribute keyobject- Session attribute object- Returns:
- The previous value associated with key, or null if there was no mapping for key.
-