public class BindingAwareModelMap extends ExtendedModelMap
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.
BindingResult,
Serialized Form| Constructor and Description |
|---|
BindingAwareModelMap() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.String,?> map) |
addAllAttributes, addAllAttributes, addAttribute, addAttribute, asMap, mergeAttributescontainsAttributeclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, sizefinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAttributepublic java.lang.Object put(java.lang.String key,
java.lang.Object value)
put in interface java.util.Map<java.lang.String,java.lang.Object>put in class java.util.HashMap<java.lang.String,java.lang.Object>public void putAll(java.util.Map<? extends java.lang.String,?> map)
putAll in interface java.util.Map<java.lang.String,java.lang.Object>putAll in class java.util.HashMap<java.lang.String,java.lang.Object>