Uses of Class
org.springframework.ui.ModelMap
Packages that use 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
Methods in org.springframework.orm.hibernate5.support with parameters of type ModelMapModifier and TypeMethodDescriptionvoid
OpenSessionInViewInterceptor.postHandle
(WebRequest request, ModelMap model) -
Uses of ModelMap in org.springframework.orm.jpa.support
Methods in org.springframework.orm.jpa.support with parameters of type ModelMapModifier and TypeMethodDescriptionvoid
OpenEntityManagerInViewInterceptor.postHandle
(WebRequest request, ModelMap model) -
Uses of ModelMap in org.springframework.ui
Subclasses of ModelMap in org.springframework.uiModifier and TypeClassDescriptionclass
Methods in org.springframework.ui that return ModelMapModifier 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
Subclasses of ModelMap in org.springframework.validation.supportModifier 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
Methods in org.springframework.web.context.request with parameters of type ModelMapModifier 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
Methods in org.springframework.web.method.support that return ModelMapModifier and TypeMethodDescriptionModelAndViewContainer.getDefaultModel()
Return the "default" model created at instantiation.ModelAndViewContainer.getModel()
Return the model to use -- either the "default" or the "redirect" model.Methods in org.springframework.web.method.support with parameters of type ModelMapModifier 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
Methods in org.springframework.web.servlet that return ModelMapModifier and TypeMethodDescriptionModelAndView.getModelMap()
Return the underlyingModelMap
instance (nevernull
). -
Uses of ModelMap in org.springframework.web.servlet.mvc.support
Subclasses of ModelMap in org.springframework.web.servlet.mvc.supportModifier and TypeClassDescriptionclass