Package | Description |
---|---|
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Method and Description |
---|---|
RedirectAttributesModelMap |
RedirectAttributesModelMap.addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the supplied
Collection into this
Map , using attribute name generation for each element. |
RedirectAttributesModelMap |
RedirectAttributesModelMap.addAllAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this Map . |
RedirectAttributesModelMap |
RedirectAttributesModelMap.addAttribute(Object attributeValue)
Add the supplied attribute to this
Map using a
generated name . |
RedirectAttributesModelMap |
RedirectAttributesModelMap.addAttribute(String attributeName,
Object attributeValue)
Add the supplied attribute under the supplied name.
|
RedirectAttributesModelMap |
RedirectAttributesModelMap.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. |