Class HttpSessionMap

java.lang.Object
org.springframework.binding.collection.StringKeyedMapAdapter<Object>
org.springframework.webflow.context.servlet.HttpSessionMap
All Implemented Interfaces:
Map<String,Object>, org.springframework.binding.collection.SharedMap<String,Object>

public class HttpSessionMap extends org.springframework.binding.collection.StringKeyedMapAdapter<Object> implements org.springframework.binding.collection.SharedMap<String,Object>
A Shared Map backed by the Servlet HTTP session, for accessing session scoped attributes.
Author:
Keith Donald
  • Constructor Details

    • HttpSessionMap

      public HttpSessionMap(jakarta.servlet.http.HttpServletRequest request)
      Create a map wrapping the session of given request.
  • Method Details

    • getAttribute

      protected Object getAttribute(String key)
      Specified by:
      getAttribute in class org.springframework.binding.collection.StringKeyedMapAdapter<Object>
    • setAttribute

      protected void setAttribute(String key, Object value)
      Specified by:
      setAttribute in class org.springframework.binding.collection.StringKeyedMapAdapter<Object>
    • removeAttribute

      protected void removeAttribute(String key)
      Specified by:
      removeAttribute in class org.springframework.binding.collection.StringKeyedMapAdapter<Object>
    • getAttributeNames

      protected Iterator<String> getAttributeNames()
      Specified by:
      getAttributeNames in class org.springframework.binding.collection.StringKeyedMapAdapter<Object>
    • getMutex

      public Object getMutex()
      Specified by:
      getMutex in interface org.springframework.binding.collection.SharedMap<String,Object>