MustacheView

Spring WebFlux View using the Mustache template engine.

Author

Brian Clozel

Since

2.0.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
open var beanName: String
Link copied to clipboard
Link copied to clipboard
val REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME: String = "requestDataValueProcessor"
Link copied to clipboard
Link copied to clipboard
open var url: String

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun render(model: Map<String, out Any>, contentType: MediaType, exchange: ServerWebExchange): Mono<Void>
Link copied to clipboard
open fun resourceExists(locale: Locale): Mono<Boolean>
Link copied to clipboard
open fun setCharset(charset: String)
Set the charset used for reading Mustache template files.
Link copied to clipboard
open fun setCompiler(compiler: Mustache.Compiler)
Set the JMustache compiler to be used by this view.
Link copied to clipboard
open fun setSupportedMediaTypes(supportedMediaTypes: List<MediaType>)
Link copied to clipboard
open fun toString(): String