Class BindingAwareModelMap
java.lang.Object
java.util.AbstractMap<String,Object>
 
java.util.HashMap<String,Object>
 
java.util.LinkedHashMap<String,Object>
 
org.springframework.ui.ModelMap
org.springframework.ui.ExtendedModelMap
org.springframework.validation.support.BindingAwareModelMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,- Object>, SequencedMap<String, - Object>, Model 
Subclass of 
ExtendedModelMap that automatically removes
a BindingResult object if the corresponding
target attribute gets replaced through regular Map operations.
This is the class exposed to handler methods by Spring MVC, typically consumed through
a declaration of the Model interface. There is no need to
build it within user code; a plain ModelMap or even a just
a regular Map with String keys will be good enough to return a user model.
- Since:
- 2.5.6
- Author:
- Juergen Hoeller
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class AbstractMapAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> 
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class ExtendedModelMapaddAllAttributes, addAllAttributes, addAttribute, addAttribute, asMap, mergeAttributesMethods inherited from class ModelMapcontainsAttribute, getAttributeMethods inherited from class LinkedHashMapclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, valuesMethods inherited from class HashMapclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class AbstractMapequals, hashCode, toStringMethods inherited from interface Mapcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from interface ModelcontainsAttribute, getAttributeMethods inherited from interface SequencedMapfirstEntry, lastEntry, pollFirstEntry, pollLastEntry
- 
Constructor Details- 
BindingAwareModelMappublic BindingAwareModelMap()
 
- 
- 
Method Details- 
put
- 
putAll
 
-