Uses of Class
org.springframework.ui.ModelMap
Packages that use ModelMap
Package
Description
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.jpa.support
Methods in org.springframework.orm.jpa.support with parameters of type ModelMapModifier and TypeMethodDescriptionvoidOpenEntityManagerInViewInterceptor.postHandle(WebRequest request, @Nullable ModelMap model) -
Uses of ModelMap in org.springframework.ui
Subclasses of ModelMap in org.springframework.uiModifier and TypeClassDescriptionclassMethods in org.springframework.ui that return ModelMapModifier and TypeMethodDescriptionModelMap.addAllAttributes(@Nullable Collection<?> attributeValues) Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.ModelMap.addAllAttributes(@Nullable Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap.ModelMap.addAttribute(Object attributeValue) Add the supplied attribute to thisMapusing agenerated name.ModelMap.addAttribute(String attributeName, @Nullable Object attributeValue) Add the supplied attribute under the supplied name.ModelMap.mergeAttributes(@Nullable Map<String, ?> attributes) Copy all attributes in the suppliedMapinto 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 TypeClassDescriptionclassSubclass ofExtendedModelMapthat automatically removes aBindingResultobject if the corresponding target attribute gets replaced through regularMapoperations. -
Uses of ModelMap in org.springframework.web.context.request
Methods in org.springframework.web.context.request with parameters of type ModelMapModifier and TypeMethodDescriptionvoidWebRequestInterceptor.postHandle(WebRequest request, @Nullable 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 TypeMethodDescriptionvoidModelAndViewContainer.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 underlyingModelMapinstance (nevernull). -
Uses of ModelMap in org.springframework.web.servlet.mvc.support
Subclasses of ModelMap in org.springframework.web.servlet.mvc.supportModifier and TypeClassDescriptionclass