org.springframework.ui.ExtendedModelMap that automatically removes
a org.springframework.validation.BindingResult object if the corresponding
target attribute gets replaced through regular Map operations.
This is the class exposed to handler methods by Spring MVC, typically consumed through
a declaration of the org. interface. There is no need to
build it within user code; a plain org. or even a just
a regular Map with String keys will be good enough to return a user model.
org.springframework.validation.BindingResult
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | put(String
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Overrides java. Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends String, ?>
mappings to be stored in this map map)Overrides java. Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| private void |
| BindingAwareModelMap | back to summary |
|---|---|
| public BindingAwareModelMap() | |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Overrides java. Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ?> map) Overrides java. Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling | |
| removeBindingResultIfNecessary | back to summary |
|---|---|
| private void removeBindingResultIfNecessary(Object key, Object value) | |