public class BindingAwareModelMap extends ExtendedModelMap
ExtendedModelMap
that
automatically removes a BindingResult
object if the corresponding target attribute gets replaced.
Used by org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
and org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter
.
BindingResult
,
Serialized FormAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BindingAwareModelMap() |
Modifier and Type | Method and Description |
---|---|
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends 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
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAttribute
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size