Package | Description |
---|---|
org.springframework.orm.hibernate5.support |
Classes supporting the
org.springframework.orm.hibernate5 package. |
org.springframework.orm.jpa.support |
Classes supporting the
org.springframework.orm.jpa package. |
org.springframework.ui |
Generic support for UI layer concepts.
|
org.springframework.validation.support |
Support classes for handling validation results.
|
org.springframework.web.context.request |
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
|
org.springframework.web.method.support |
Generic support classes for handler method processing.
|
org.springframework.web.servlet |
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
|
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenSessionInViewInterceptor.postHandle(WebRequest request,
ModelMap model) |
Modifier and Type | Method and Description |
---|---|
void |
OpenEntityManagerInViewInterceptor.postHandle(WebRequest request,
ModelMap model) |
Modifier and Type | Class and Description |
---|---|
class |
ExtendedModelMap
|
Modifier and Type | Method and Description |
---|---|
ModelMap |
ModelMap.addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the supplied
Collection into this
Map , using attribute name generation for each element. |
ModelMap |
ModelMap.addAllAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this Map . |
ModelMap |
ModelMap.addAttribute(Object attributeValue)
Add the supplied attribute to this
Map using a
generated name . |
ModelMap |
ModelMap.addAttribute(String attributeName,
Object attributeValue)
Add the supplied attribute under the supplied name.
|
ModelMap |
ModelMap.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 through regular Map operations. |
Modifier and Type | Method and Description |
---|---|
void |
WebRequestInterceptor.postHandle(WebRequest request,
ModelMap model)
Intercept the execution of a request handler after its successful
invocation, right before view rendering (if any).
|
Modifier and Type | Method and Description |
---|---|
ModelMap |
ModelAndViewContainer.getDefaultModel()
Return the "default" model created at instantiation.
|
ModelMap |
ModelAndViewContainer.getModel()
Return the model to use -- either the "default" or the "redirect" model.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelAndViewContainer.setRedirectModel(ModelMap redirectModel)
Provide a separate model instance to use in a redirect scenario.
|
Modifier and Type | Method and Description |
---|---|
ModelMap |
ModelAndView.getModelMap()
Return the underlying
ModelMap instance (never null ). |
Modifier and Type | Class and Description |
---|---|
class |
RedirectAttributesModelMap
|