| Package | Description |
|---|---|
| org.springframework.ui |
Generic support for UI layer concepts.
|
| org.springframework.validation.support |
Support classes for handling validation results.
|
| org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
BindingAwareModelMap
Subclass of
ExtendedModelMap that
automatically removes a BindingResult
object if the corresponding target attribute gets replaced. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RedirectAttributes
A specialization of the
Model interface that controllers can use to
select attributes for a redirect scenario. |
| Modifier and Type | Class and Description |
|---|---|
class |
RedirectAttributesModelMap
|
Copyright © 2015. All rights reserved.