Class HttpServletContextMap

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

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

    • HttpServletContextMap

      public HttpServletContextMap(jakarta.servlet.ServletContext context)
      Create a map wrapping given servlet context.
  • 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>