public class BindingAwareConcurrentModel extends ConcurrentModel
ConcurrentModel
that automatically removes
the BindingResult
object when its corresponding
target attribute is replaced through regular Map
operations.
This is the class exposed to handler methods by Spring WebFlux,
typically consumed through a declaration of the
Model
interface as a parameter type.
There is typically no need to create it within user code.
If necessary a handler method can return a regular java.util.Map
,
likely a java.util.ConcurrentMap
, for a pre-determined model.
BindingResult
,
Serialized Formjava.util.concurrent.ConcurrentHashMap.KeySetView<K,V>
Constructor and Description |
---|
BindingAwareConcurrentModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.String,?> map) |
addAllAttributes, addAllAttributes, addAttribute, addAttribute, asMap, containsAttribute, mergeAttributes
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
public java.lang.Object put(java.lang.String key, java.lang.Object value)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
put
in class java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
public void putAll(java.util.Map<? extends java.lang.String,?> map)
putAll
in interface java.util.Map<java.lang.String,java.lang.Object>
putAll
in class java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>