Package | Description |
---|---|
org.springframework.ui |
Generic support for UI layer concepts.
|
org.springframework.validation.support |
Support classes for handling validation results.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentModel
Implementation of the
Model interface based on a ConcurrentHashMap
for use in concurrent scenarios. |
class |
ExtendedModelMap
|
Modifier and Type | Method and Description |
---|---|
Model |
Model.addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the supplied
Collection into this
Map , using attribute name generation for each element. |
Model |
Model.addAllAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this Map . |
Model |
Model.addAttribute(Object attributeValue)
Add the supplied attribute to this
Map using a
generated name . |
Model |
Model.addAttribute(String attributeName,
Object attributeValue)
Add the supplied attribute under the supplied name.
|
Model |
Model.mergeAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this Map ,
with existing objects of the same name taking precedence (i.e. |
Modifier and Type | Class and Description |
---|---|
class |
BindingAwareConcurrentModel
Subclass of
ConcurrentModel that automatically removes
the BindingResult object when its corresponding
target attribute is replaced through regular Map operations. |
class |
BindingAwareModelMap
Subclass of
ExtendedModelMap that automatically removes
a BindingResult object if the corresponding
target attribute gets replaced through regular Map operations. |