Uses of Interface
org.springframework.ui.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
Modifier and TypeClassDescriptionclass
Implementation of theModel
interface based on aConcurrentHashMap
for use in concurrent scenarios.class
Modifier and TypeMethodDescriptionModel.addAllAttributes
(Collection<?> attributeValues) Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.Model.addAllAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into thisMap
.Model.addAttribute
(Object attributeValue) Add the supplied attribute to thisMap
using 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 suppliedMap
into thisMap
, with existing objects of the same name taking precedence (i.e. -
Uses of Model in org.springframework.validation.support
Modifier and TypeClassDescriptionclass
Subclass ofConcurrentModel
that automatically removes theBindingResult
object when its corresponding target attribute is replaced through regularMap
operations.class
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
Modifier and TypeMethodDescriptionprotected 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.reactive.result.view
Modifier and TypeMethodDescriptionvoid
Fragment.mergeAttributes
(Model model) Merge attributes from the request model if not already present. -
Uses of Model in org.springframework.web.servlet.mvc.support
Modifier and TypeInterfaceDescriptioninterface
A specialization of theModel
interface that controllers can use to select attributes for a redirect scenario.Modifier and TypeClassDescriptionclass