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
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHttpServletContextMap(jakarta.servlet.ServletContext context) Create a map wrapping given servlet context. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetAttribute(String key) getMutex()protected voidremoveAttribute(String key) protected voidsetAttribute(String key, Object value) Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapter
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
HttpServletContextMap
public HttpServletContextMap(jakarta.servlet.ServletContext context) Create a map wrapping given servlet context.
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein classorg.springframework.binding.collection.StringKeyedMapAdapter<Object>
-
setAttribute
- Specified by:
setAttributein classorg.springframework.binding.collection.StringKeyedMapAdapter<Object>
-
removeAttribute
- Specified by:
removeAttributein classorg.springframework.binding.collection.StringKeyedMapAdapter<Object>
-
getAttributeNames
- Specified by:
getAttributeNamesin classorg.springframework.binding.collection.StringKeyedMapAdapter<Object>
-
getMutex
-