类 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
另请参阅: