Class SpringWebFluxTemplateEngine

Object
org.thymeleaf.TemplateEngine
org.thymeleaf.spring5.SpringTemplateEngine
org.thymeleaf.spring5.SpringWebFluxTemplateEngine
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.MessageSourceAware, 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:
  • Constructor Details

    • SpringWebFluxTemplateEngine

      public SpringWebFluxTemplateEngine()
  • Method Details

    • processStream

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