org.springframework.boot.web.servlet.view

Class MustacheView

    • Constructor Detail

      • MustacheView

        public MustacheView()
    • Method Detail

      • setCompiler

        public void setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
        Set the Mustache compiler to be used by this view.

        Typically this property is not set directly. Instead a single Mustache.Compiler is expected in the Spring application context which is used to compile Mustache templates.

        Parameters:
        compiler - the Mustache compiler
      • setCharset

        public void setCharset(String charset)
        Set the charset used for reading Mustache template files.
        Parameters:
        charset - the charset to use for reading template files