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 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. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentModel
Implementation of the
Model interface based on a ConcurrentHashMap
for use in concurrent scenarios. |
class |
ExtendedModelMap
|
Modifier and Type | Method and Description |
---|---|
Model |
Model.addAllAttributes(java.util.Collection<?> attributeValues)
Copy all attributes in the supplied
Collection into this
Map , using attribute name generation for each element. |
Model |
Model.addAllAttributes(java.util.Map<java.lang.String,?> attributes)
Copy all attributes in the supplied
Map into this Map . |
Model |
Model.addAttribute(java.lang.Object attributeValue)
Add the supplied attribute to this
Map using a
generated name . |
Model |
Model.addAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Add the supplied attribute under the supplied name.
|
Model |
Model.mergeAttributes(java.util.Map<java.lang.String,?> attributes)
Copy all attributes in the supplied
Map into this Map ,
with existing objects of the same name taking precedence (i.e. |
Modifier and Type | Class and Description |
---|---|
class |
BindingAwareConcurrentModel
Subclass of
ConcurrentModel that automatically removes
the BindingResult object when its corresponding
target attribute is replaced through regular Map operations. |
class |
BindingAwareModelMap
Subclass of
ExtendedModelMap that automatically removes
a BindingResult object if the corresponding
target attribute gets replaced through regular Map operations. |
Modifier and Type | Method and Description |
---|---|
Model |
BindingContext.getModel()
Return the default model.
|
Model |
HandlerResult.getModel()
Return the model used for request handling.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNamedValueArgumentResolver.handleResolvedValue(java.lang.Object arg,
java.lang.String name,
MethodParameter parameter,
Model model,
ServerWebExchange exchange)
Invoked after a value is resolved.
|
protected void |
PathVariableMethodArgumentResolver.handleResolvedValue(java.lang.Object arg,
java.lang.String name,
MethodParameter parameter,
Model model,
ServerWebExchange exchange) |
Modifier and Type | Interface and Description |
---|---|
interface |
RedirectAttributes
A specialization of the
Model interface that controllers can use to
select attributes for a redirect scenario. |
Modifier and Type | Class and Description |
---|---|
class |
RedirectAttributesModelMap
|