Class HttpServletRequestMap
java.lang.Object
org.springframework.binding.collection.StringKeyedMapAdapter<Object>
org.springframework.webflow.context.servlet.HttpServletRequestMap
Map backed by the Servlet HTTP request attribute map for accessing request local attributes.
- Author:
- Keith Donald
- 
Nested Class Summary
- 
Constructor SummaryConstructorsConstructorDescriptionHttpServletRequestMap(jakarta.servlet.http.HttpServletRequest request) Create a new map wrapping the attributes of given request.
- 
Method SummaryModifier and TypeMethodDescriptionprotected ObjectgetAttribute(String key) Hook method that needs to be implemented by concrete subclasses.Hook method that needs to be implemented by concrete subclasses.protected voidremoveAttribute(String key) Hook method that needs to be implemented by concrete subclasses.protected voidsetAttribute(String key, Object value) Hook method that needs to be implemented by concrete subclasses.Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapterclear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
HttpServletRequestMappublic HttpServletRequestMap(jakarta.servlet.http.HttpServletRequest request) Create a new map wrapping the attributes of given request.
 
- 
- 
Method Details- 
getAttributeDescription copied from class:StringKeyedMapAdapterHook method that needs to be implemented by concrete subclasses. Gets a value associated with a key.- Specified by:
- getAttributein class- StringKeyedMapAdapter<Object>
- Parameters:
- key- the key to lookup
- Returns:
- the associated value, or null if none
 
- 
setAttributeDescription copied from class:StringKeyedMapAdapterHook method that needs to be implemented by concrete subclasses. Puts a key-value pair in the map, overwriting any possible earlier value associated with the same key.- Specified by:
- setAttributein class- StringKeyedMapAdapter<Object>
- Parameters:
- key- the key to associate the value with
- value- the value to associate with the key
 
- 
removeAttributeDescription copied from class:StringKeyedMapAdapterHook method that needs to be implemented by concrete subclasses. Removes a key and its associated value from the map.- Specified by:
- removeAttributein class- StringKeyedMapAdapter<Object>
- Parameters:
- key- the key to remove
 
- 
getAttributeNamesDescription copied from class:StringKeyedMapAdapterHook method that needs to be implemented by concrete subclasses. Returns an enumeration listing all keys known to the map.- Specified by:
- getAttributeNamesin class- StringKeyedMapAdapter<Object>
- Returns:
- the key enumeration
 
 
-