Class PubServerMap

java.lang.Object
com.priint.pubserver.session.PubServerMap
All Implemented Interfaces:
Serializable

public class PubServerMap extends Object implements Serializable
Map of attributes of simple pubserver.
Since:
4.0.0
See Also:
  • Constructor Details

    • PubServerMap

      public PubServerMap()
      Default constructor
    • PubServerMap

      public PubServerMap(Map<String,Object> map)
      The constructor which set map with session attributes
  • Method Details

    • getMap

      public Map<String,Object> getMap()
      Returns:
      Map with all session attributes
    • setMap

      public void setMap(Map<String,Object> map)
      Set map with all session attributes
    • get

      public Object get(String key)
      Parameters:
      key - Session attribute key
      Returns:
      Object from all session attributes map
    • put

      public void put(String key, Object object)
      Put new element into session attribute map
      Parameters:
      key - Session attribute key
      object - Session attribute object
    • remove

      public Object remove(String key, Object object)
      Remove element from session attribute map
      Parameters:
      key - Session attribute key
      object - Session attribute object
      Returns:
      The previous value associated with key, or null if there was no mapping for key.