MustacheViewResolver

Spring WebFlux ViewResolver for Mustache.

Author

Brian Clozel

Marten Deinum

Since

2.0.0

Constructors

Link copied to clipboard
constructor()
Create a MustacheViewResolver backed by a default instance of a Compiler.
constructor(compiler: Mustache.Compiler)
Create a MustacheViewResolver backed by a custom instance of a Compiler.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val HIGHEST_PRECEDENCE: Int = -2147483648
Link copied to clipboard
val LOWEST_PRECEDENCE: Int = 2147483647
Link copied to clipboard
open var order: Int
Link copied to clipboard
protected open var prefix: String
Link copied to clipboard
val REDIRECT_URL_PREFIX: String = "redirect:"
Link copied to clipboard
protected open var requestContextAttribute: String
Link copied to clipboard
protected open var suffix: String
Link copied to clipboard
protected open var viewClass: Class<out Any>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun resolveViewName(viewName: String, locale: Locale): Mono<View>
Link copied to clipboard
open fun setCharset(charset: String)
Set the charset.
Link copied to clipboard
open fun setRedirectViewProvider(redirectViewProvider: (String) -> RedirectView)
Link copied to clipboard
open fun setSupportedMediaTypes(supportedMediaTypes: List<MediaType>)
Link copied to clipboard
open fun setViewNames(viewNames: Array<String>)