Package org.thymeleaf.spring5.util
Class SpringReactiveModelAdditionsUtils
- Object
-
- org.thymeleaf.spring5.util.SpringReactiveModelAdditionsUtils
-
public final class SpringReactiveModelAdditionsUtils extends Object
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 atViewrendering time and the result will be added to the Model.Function<ServerWebExchange,? extends Publisher<?>>: The function will be called atViewrendering 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringfromReactiveModelAdditionName(String name)static booleanisReactiveModelAdditionName(String name)static StringtoReactiveModelAdditionName(String name)
-