Package org.thymeleaf.spring5.util
Class SpringReactiveModelAdditionsUtils
Object
org.thymeleaf.spring5.util.SpringReactiveModelAdditionsUtils
Utilities for identifying names of execution attributes defined at dialects that should be resolved before view execution in Spring WebFlux view executions. Execution attributes identified this way will be added to the model attributes by the 1st phase of the execution of Thymeleaf Spring WebFlux views in order to be resolved before the view is really executed (2nd phase).
Values of these execution attributes are allowed to be:
Publisher<?>
(includingFlux<?>
andMono<?>
).Supplier<? extends Publisher<?>>
: The supplier will be called atView
rendering time and the result will be added to the Model.Function<ServerWebExchange,? extends Publisher<?>>
: The function will be called atView
rendering time and the result will be added to the Model.
Names will be prefixed with: "ThymeleafReactiveModelAdditions:"
- Since:
- 3.1.0
- Author:
- Daniel Fernández
-
Method Details
-
isReactiveModelAdditionName
-
fromReactiveModelAdditionName
-
toReactiveModelAdditionName
-