Class SpringWebFluxTemplateEngine

Object
org.thymeleaf.TemplateEngine
org.thymeleaf.spring6.SpringTemplateEngine
org.thymeleaf.spring6.SpringWebFluxTemplateEngine
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.MessageSourceAware, org.thymeleaf.ITemplateEngine, ISpringTemplateEngine, ISpringWebFluxTemplateEngine

public class SpringWebFluxTemplateEngine extends SpringTemplateEngine implements ISpringWebFluxTemplateEngine

Standard implementation of ISpringWebFluxTemplateEngine, and default template engine implementation to be used in Spring WebFlux environments.

Since:
3.0.3
Author:
Daniel Fernández
See Also:
  • Field Summary

    Fields inherited from class org.thymeleaf.TemplateEngine

    TIMER_LOGGER_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer>
    processStream(String template, Set<String> markupSelectors, org.thymeleaf.context.IContext context, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.http.MediaType mediaType, Charset charset)
     
    org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer>
    processStream(String template, Set<String> markupSelectors, org.thymeleaf.context.IContext context, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.http.MediaType mediaType, Charset charset, int responseMaxChunkSizeBytes)
     

    Methods inherited from class org.thymeleaf.TemplateEngine

    addDialect, addDialect, addLinkBuilder, addMessageResolver, addTemplateResolver, clearDialects, clearTemplateCache, clearTemplateCacheFor, getCacheManager, getConfiguration, getDecoupledTemplateLogicResolver, getDialects, getDialectsByPrefix, getEngineContextFactory, getLinkBuilders, getMessageResolvers, getTemplateResolvers, isInitialized, process, process, process, process, process, process, processThrottled, processThrottled, processThrottled, setAdditionalDialects, setCacheManager, setDecoupledTemplateLogicResolver, setDialect, setDialects, setDialectsByPrefix, setEngineContextFactory, setLinkBuilder, setLinkBuilders, setMessageResolver, setMessageResolvers, setTemplateResolver, setTemplateResolvers, threadIndex

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.thymeleaf.spring6.ISpringTemplateEngine

    setTemplateEngineMessageSource

    Methods inherited from interface org.thymeleaf.ITemplateEngine

    getConfiguration, process, process, process, process, process, process, processThrottled, processThrottled, processThrottled
  • Constructor Details

    • SpringWebFluxTemplateEngine

      public SpringWebFluxTemplateEngine()
  • Method Details

    • processStream

      public org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> processStream(String template, Set<String> markupSelectors, org.thymeleaf.context.IContext context, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.http.MediaType mediaType, Charset charset)
      Specified by:
      processStream in interface ISpringWebFluxTemplateEngine
    • processStream

      public org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> processStream(String template, Set<String> markupSelectors, org.thymeleaf.context.IContext context, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.http.MediaType mediaType, Charset charset, int responseMaxChunkSizeBytes)
      Specified by:
      processStream in interface ISpringWebFluxTemplateEngine