Class 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 and ISpringWebFluxContext 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 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)
      • SpringWebFluxExpressionContext

        public SpringWebFluxExpressionContext​(org.thymeleaf.IEngineConfiguration configuration,
                                              org.springframework.web.server.ServerWebExchange exchange,
                                              org.springframework.core.ReactiveAdapterRegistry reactiveAdapterRegistry,
                                              Locale locale,
                                              Map<String,​Object> variables)
    • Method Detail

      • getConfiguration

        public org.thymeleaf.IEngineConfiguration getConfiguration()
        Specified by:
        getConfiguration in interface org.thymeleaf.context.IExpressionContext
      • getExpressionObjects

        public org.thymeleaf.expression.IExpressionObjects getExpressionObjects()
        Specified by:
        getExpressionObjects in interface org.thymeleaf.context.IExpressionContext