Class MustacheViewResolver

All Implemented Interfaces:
Aware, InitializingBean, ApplicationContextAware, Ordered, ViewResolver

public class MustacheViewResolver extends UrlBasedViewResolver
Spring WebFlux ViewResolver for Mustache.
Since:
2.0.0
Author:
Brian Clozel
  • Constructor Details

    • MustacheViewResolver

      public MustacheViewResolver()
      Create a MustacheViewResolver backed by a default instance of a Mustache.Compiler.
    • MustacheViewResolver

      public MustacheViewResolver(com.samskivert.mustache.Mustache.Compiler compiler)
      Create a MustacheViewResolver backed by a custom instance of a Mustache.Compiler.
      Parameters:
      compiler - the Mustache compiler used to compile templates
  • Method Details