类 BindingAwareConcurrentModel
- java.lang.Object
- java.util.AbstractMap<K,V>
- java.util.concurrent.ConcurrentHashMap<String,Object>
- org.springframework.ui.ConcurrentModel
- org.springframework.validation.support.BindingAwareConcurrentModel
- 所有已实现的接口:
Serializable,ConcurrentMap<String,Object>,Map<String,Object>,Model
public class BindingAwareConcurrentModel extends ConcurrentModel
Subclass ofConcurrentModelthat automatically removes theBindingResultobject when its corresponding target attribute is replaced through regularMapoperations.This is the class exposed to handler methods by Spring WebFlux, typically consumed through a declaration of the
Modelinterface as a parameter type. There is typically no need to create it within user code. If necessary a handler method can return a regularjava.util.Map, likely ajava.util.ConcurrentMap, for a pre-determined model.- 从以下版本开始:
- 5.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
BindingResult, 序列化表格
嵌套类概要
从类继承的嵌套类/接口 java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
从类继承的嵌套类/接口 java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
构造器概要
构造器 构造器 说明 BindingAwareConcurrentModel()
方法概要
从类继承的方法 org.springframework.ui.ConcurrentModel
addAllAttributes, addAllAttributes, addAttribute, addAttribute, asMap, containsAttribute, getAttribute, mergeAttributes, putAll
从类继承的方法 java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
从类继承的方法 java.util.AbstractMap
clone