Uses of Interface
org.springframework.ui.Model
Packages that use Model
Package
Description
Generic support for UI layer concepts.
Support classes for handling validation results.
Top-level package for the
spring-webflux module that contains
DispatcherHandler, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
Support package for MVC controllers.
-
Uses of Model in org.springframework.ui
Classes in org.springframework.ui that implement ModelModifier and TypeClassDescriptionclassImplementation of theModelinterface based on aConcurrentHashMapfor use in concurrent scenarios.classMethods in org.springframework.ui that return ModelModifier and TypeMethodDescriptionModel.addAllAttributes(Collection<?> attributeValues) Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.Model.addAllAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap.Model.addAttribute(Object attributeValue) Add the supplied attribute to thisMapusing agenerated name.Model.addAttribute(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.Model.mergeAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap, with existing objects of the same name taking precedence (i.e. -
Uses of Model in org.springframework.validation.support
Classes in org.springframework.validation.support that implement ModelModifier and TypeClassDescriptionclassSubclass ofConcurrentModelthat automatically removes theBindingResultobject when its corresponding target attribute is replaced through regularMapoperations.classSubclass ofExtendedModelMapthat automatically removes aBindingResultobject if the corresponding target attribute gets replaced through regularMapoperations. -
Uses of Model in org.springframework.web.reactive
Methods in org.springframework.web.reactive that return Model -
Uses of Model in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation with parameters of type ModelModifier and TypeMethodDescriptionprotected voidAbstractNamedValueArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange) Invoked after a value is resolved.protected voidPathVariableMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange) -
Uses of Model in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view with parameters of type ModelModifier and TypeMethodDescriptionvoidFragment.mergeAttributes(Model model) Merge attributes from the request model if not already present. -
Uses of Model in org.springframework.web.servlet.mvc.support
Subinterfaces of Model in org.springframework.web.servlet.mvc.supportModifier and TypeInterfaceDescriptioninterfaceA specialization of theModelinterface that controllers can use to select attributes for a redirect scenario.Classes in org.springframework.web.servlet.mvc.support that implement ModelModifier and TypeClassDescriptionclass