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
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHttpSessionMap(jakarta.servlet.http.HttpServletRequest request) Create a map wrapping the session of given request. -
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
-
HttpSessionMap
public HttpSessionMap(jakarta.servlet.http.HttpServletRequest request) Create a map wrapping the session of given request.
-
-
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
-