Uses of Interface
org.springframework.ui.Model
Packages that use Model Package Description org.springframework.ui Generic support for UI layer concepts.org.springframework.validation.support Support classes for handling validation results.org.springframework.web.reactive Top-level package for thespring-webflux
module that containsDispatcherHandler
, the main entry point for WebFlux server endpoint processing including key contracts used to map requests to handlers, invoke them, and process the result.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.servlet.mvc.support Support package for MVC controllers.Uses of Model in org.springframework.ui
Classes in org.springframework.ui that implement Model Modifier and Type Class Description class
ConcurrentModel
Implementation of theModel
interface based on aConcurrentHashMap
for use in concurrent scenarios.class
ExtendedModelMap
Methods in org.springframework.ui that return Model Modifier and Type Method Description Model
Model. addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.Model
Model. addAllAttributes(Map<String,?> attributes)
Copy all attributes in the suppliedMap
into thisMap
.Model
Model. addAttribute(Object attributeValue)
Add the supplied attribute to thisMap
using agenerated name
.Model
Model. addAttribute(String attributeName, Object attributeValue)
Add the supplied attribute under the supplied name.Model
Model. 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 Model in org.springframework.validation.support
Classes in org.springframework.validation.support that implement Model Modifier and Type Class Description class
BindingAwareConcurrentModel
Subclass ofConcurrentModel
that automatically removes theBindingResult
object when its corresponding target attribute is replaced through regularMap
operations.class
BindingAwareModelMap
Subclass ofExtendedModelMap
that automatically removes aBindingResult
object if the corresponding target attribute gets replaced through regularMap
operations.Uses of Model in org.springframework.web.reactive
Uses of Model in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation with parameters of type Model Modifier and Type Method Description protected void
AbstractNamedValueArgumentResolver. handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange)
Invoked after a value is resolved.protected void
PathVariableMethodArgumentResolver. handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange)
Uses of Model in org.springframework.web.servlet.mvc.support
Subinterfaces of Model in org.springframework.web.servlet.mvc.support Modifier and Type Interface Description interface
RedirectAttributes
A specialization of theModel
interface that controllers can use to select attributes for a redirect scenario.Classes in org.springframework.web.servlet.mvc.support that implement Model Modifier and Type Class Description class
RedirectAttributesModelMap