类 BindingAwareModelMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
cn.taketoday.ui.ModelMap
cn.taketoday.web.view.BindingAwareModelMap
- 所有已实现的接口:
cn.taketoday.ui.Model,Serializable,Cloneable,Map<String,Object>
public class BindingAwareModelMap
extends cn.taketoday.ui.ModelMap
Subclass of
ModelMap 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 Web 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.
- 从以下版本开始:
- 4.0 2022/4/28 9:04
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
BindingResult- 序列化表格
-
嵌套类概要
从类继承的嵌套类/接口 java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.ui.ModelMap
addAllAttributes, addAllAttributes, addAttribute, addAttribute, asMap, attributeNames, containsAttribute, getAttribute, mergeAttributes, removeAttribute, setAttribute从类继承的方法 java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values从类继承的方法 java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size从类继承的方法 java.util.AbstractMap
equals, hashCode, toString从接口继承的方法 java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size从接口继承的方法 cn.taketoday.ui.Model
clear, getAttributeNames, isEmpty, setAttributes
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
-
构造器详细资料
-
BindingAwareModelMap
public BindingAwareModelMap()
-
-
方法详细资料