public class BindingAwareModelMap extends ExtendedModelMap
ExtendedModelMap
that
automatically removes a BindingResult
object if the corresponding target attribute gets replaced.
Used by AnnotationMethodHandlerAdapter
and AnnotationMethodHandlerAdapter
.
BindingResult
,
Serialized FormConstructor 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, mergeAttributes
containsAttribute
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAttribute
public 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>