类的使用
org.springframework.ui.ConcurrentModel
使用ConcurrentModel的程序包 程序包 说明 org.springframework.ui Generic support for UI layer concepts.org.springframework.validation.support Support classes for handling validation results.org.springframework.ui中ConcurrentModel的使用
返回ConcurrentModel的org.springframework.ui中的方法 修饰符和类型 方法 说明 ConcurrentModelConcurrentModel. addAllAttributes(Collection<?> attributeValues)Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.ConcurrentModelConcurrentModel. addAllAttributes(Map<String,?> attributes)Copy all attributes in the suppliedMapinto thisMap.ConcurrentModelConcurrentModel. addAttribute(Object attributeValue)Add the supplied attribute to thisMapusing agenerated name.ConcurrentModelConcurrentModel. addAttribute(String attributeName, Object attributeValue)Add the supplied attribute under the supplied name.ConcurrentModelConcurrentModel. mergeAttributes(Map<String,?> attributes)Copy all attributes in the suppliedMapinto thisMap, with existing objects of the same name taking precedence (i.e. not getting replaced).org.springframework.validation.support中ConcurrentModel的使用
org.springframework.validation.support中ConcurrentModel的子类 修饰符和类型 类 说明 classBindingAwareConcurrentModelSubclass ofConcurrentModelthat automatically removes theBindingResultobject when its corresponding target attribute is replaced through regularMapoperations.