toggle menu
Spring Boot Kotlin API
3.3.11-SNAPSHOT
jvm
switch theme
search in API
spring-boot
/
org.springframework.boot.web.reactive.result.view
/
MustacheViewResolver
Mustache
View
Resolver
open
class
MustacheViewResolver
:
UrlBasedViewResolver
Spring WebFlux
ViewResolver
for Mustache.
Author
Brian Clozel
Marten Deinum
Since
2.0.0
Members
Constructors
Mustache
View
Resolver
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
application
Context
Link copied to clipboard
open
var
applicationContext
:
ApplicationContext
DEFAULT_CONTENT_TYPE
Link copied to clipboard
val
DEFAULT_CONTENT_TYPE
:
MediaType
default
Charset
Link copied to clipboard
open
var
defaultCharset
:
Charset
HIGHEST_PRECEDENCE
Link copied to clipboard
val
HIGHEST_PRECEDENCE
:
Int
=
-2147483648
LOWEST_PRECEDENCE
Link copied to clipboard
val
LOWEST_PRECEDENCE
:
Int
=
2147483647
order
Link copied to clipboard
open
var
order
:
Int
prefix
Link copied to clipboard
protected
open
var
prefix
:
String
REDIRECT_URL_PREFIX
Link copied to clipboard
val
REDIRECT_URL_PREFIX
:
String
=
"redirect:"
request
Context
Attribute
Link copied to clipboard
protected
open
var
requestContextAttribute
:
String
suffix
Link copied to clipboard
protected
open
var
suffix
:
String
view
Class
Link copied to clipboard
protected
open
var
viewClass
:
Class
<
out
Any
>
Functions
after
Properties
Set
Link copied to clipboard
open
fun
afterPropertiesSet
(
)
get
Supported
Media
Types
Link copied to clipboard
open
fun
getSupportedMediaTypes
(
)
:
List
<
MediaType
>
resolve
View
Name
Link copied to clipboard
open
fun
resolveViewName
(
viewName
:
String
,
locale
:
Locale
)
:
Mono
<
View
>
set
Charset
Link copied to clipboard
open
fun
setCharset
(
charset
:
String
)
Set the charset.
set
Redirect
View
Provider
Link copied to clipboard
open
fun
setRedirectViewProvider
(
redirectViewProvider
:
(
String
)
->
RedirectView
)
set
Supported
Media
Types
Link copied to clipboard
open
fun
setSupportedMediaTypes
(
supportedMediaTypes
:
List
<
MediaType
>
)
set
View
Names
Link copied to clipboard
open
fun
setViewNames
(
viewNames
:
Array
<
String
>
)