Uses of Class
org.springframework.ui.ModelMap
Package
Description
Classes supporting the
org.springframework.orm.hibernate5
package.Classes supporting the
org.springframework.orm.jpa
package.Generic support for UI layer concepts.
Support classes for handling validation results.
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Generic support classes for handler method processing.
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Support package for MVC controllers.
-
Uses of ModelMap in org.springframework.orm.hibernate5.support
Modifier and TypeMethodDescriptionvoid
OpenSessionInViewInterceptor.postHandle
(WebRequest request, ModelMap model) -
Uses of ModelMap in org.springframework.orm.jpa.support
Modifier and TypeMethodDescriptionvoid
OpenEntityManagerInViewInterceptor.postHandle
(WebRequest request, ModelMap model) -
Uses of ModelMap in org.springframework.ui
Modifier and TypeClassDescriptionclass
Modifier and TypeMethodDescriptionModelMap.addAllAttributes
(Collection<?> attributeValues) Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.ModelMap.addAllAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into thisMap
.ModelMap.addAttribute
(Object attributeValue) Add the supplied attribute to thisMap
using agenerated name
.ModelMap.addAttribute
(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.ModelMap.mergeAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into thisMap
, with existing objects of the same name taking precedence (i.e. -
Uses of ModelMap in org.springframework.validation.support
Modifier and TypeClassDescriptionclass
Subclass ofExtendedModelMap
that automatically removes aBindingResult
object if the corresponding target attribute gets replaced through regularMap
operations. -
Uses of ModelMap in org.springframework.web.context.request
Modifier and TypeMethodDescriptionvoid
WebRequestInterceptor.postHandle
(WebRequest request, ModelMap model) Intercept the execution of a request handler after its successful invocation, right before view rendering (if any). -
Uses of ModelMap in org.springframework.web.method.support
Modifier and TypeMethodDescriptionModelAndViewContainer.getDefaultModel()
Return the "default" model created at instantiation.ModelAndViewContainer.getModel()
Return the model to use -- either the "default" or the "redirect" model.Modifier and TypeMethodDescriptionvoid
ModelAndViewContainer.setRedirectModel
(ModelMap redirectModel) Provide a separate model instance to use in a redirect scenario. -
Uses of ModelMap in org.springframework.web.servlet
Modifier and TypeMethodDescriptionModelAndView.getModelMap()
Return the underlyingModelMap
instance (nevernull
). -
Uses of ModelMap in org.springframework.web.servlet.mvc.support
Modifier and TypeClassDescriptionclass