Uses of Class
org.springframework.ui.ModelMap
Packages that use ModelMap Package Description org.springframework.orm.hibernate5.support Classes supporting theorg.springframework.orm.hibernate5
package.org.springframework.orm.jpa.support Classes supporting theorg.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.Uses of ModelMap in org.springframework.orm.hibernate5.support
Methods in org.springframework.orm.hibernate5.support with parameters of type ModelMap Modifier and Type Method Description void
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 ModelMap Modifier and Type Method Description void
OpenEntityManagerInViewInterceptor. postHandle(WebRequest request, ModelMap model)
Uses of ModelMap in org.springframework.ui
Subclasses of ModelMap in org.springframework.ui Modifier and Type Class Description class
ExtendedModelMap
Methods in org.springframework.ui that return ModelMap Modifier and Type Method Description ModelMap
ModelMap. addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.ModelMap
ModelMap. addAllAttributes(Map<String,?> attributes)
Copy all attributes in the suppliedMap
into thisMap
.ModelMap
ModelMap. addAttribute(Object attributeValue)
Add the supplied attribute to thisMap
using agenerated 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 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.support Modifier and Type Class Description class
BindingAwareModelMap
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 ModelMap Modifier and Type Method 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).Uses of ModelMap in org.springframework.web.method.support
Methods in org.springframework.web.method.support that return ModelMap Modifier and Type Method 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.Methods in org.springframework.web.method.support with parameters of type ModelMap Modifier and Type Method Description void
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 ModelMap Modifier and Type Method Description ModelMap
ModelAndView. 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.support Modifier and Type Class Description class
RedirectAttributesModelMap