Class SpringWebFluxExpressionContext
- Object
-
- org.thymeleaf.context.AbstractContext
-
- org.thymeleaf.spring5.context.webflux.SpringWebFluxContext
-
- org.thymeleaf.spring5.context.webflux.SpringWebFluxExpressionContext
-
- All Implemented Interfaces:
org.thymeleaf.context.IContext
,org.thymeleaf.context.IExpressionContext
,ISpringWebFluxContext
public class SpringWebFluxExpressionContext extends SpringWebFluxContext implements org.thymeleaf.context.IExpressionContext
Basic Spring WebFlux-oriented implementation of the
IExpressionContext
andISpringWebFluxContext
interfaces.This class is not thread-safe, and should not be shared across executions of templates.
- Since:
- 3.0.3
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange)
SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange, Locale locale)
SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange, Locale locale, Map<String,Object> variables)
SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange, org.springframework.core.ReactiveAdapterRegistry reactiveAdapterRegistry, Locale locale, Map<String,Object> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.thymeleaf.IEngineConfiguration
getConfiguration()
org.thymeleaf.expression.IExpressionObjects
getExpressionObjects()
-
Methods inherited from class org.thymeleaf.spring5.context.webflux.SpringWebFluxContext
getExchange, getReactiveAdapterRegistry, getRequest, getResponse, getSession
-
Methods inherited from class org.thymeleaf.context.AbstractContext
clearVariables, containsVariable, getLocale, getVariable, getVariableNames, removeVariable, setLocale, setVariable, setVariables
-
-
-
-
Constructor Detail
-
SpringWebFluxExpressionContext
public SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange)
-
SpringWebFluxExpressionContext
public SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange, Locale locale)
-
SpringWebFluxExpressionContext
public SpringWebFluxExpressionContext(org.thymeleaf.IEngineConfiguration configuration, org.springframework.web.server.ServerWebExchange exchange, Locale locale, Map<String,Object> variables)
-
-
Method Detail
-
getConfiguration
public org.thymeleaf.IEngineConfiguration getConfiguration()
- Specified by:
getConfiguration
in interfaceorg.thymeleaf.context.IExpressionContext
-
getExpressionObjects
public org.thymeleaf.expression.IExpressionObjects getExpressionObjects()
- Specified by:
getExpressionObjects
in interfaceorg.thymeleaf.context.IExpressionContext
-
-