Configuration Reference
Version:1.3.2
Views Core Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether view rendering is enabled. Default value (true). |
|
java.lang.String |
The folder to look for views. |
|
java.lang.String |
The folder to look for views. Default value ("views"). |
Property | Type | Description |
---|---|---|
|
boolean |
Enable {@link SecurityViewModelProcessor}. Default value (true). |
|
java.lang.String |
Model key name. Default value ("security"). |
|
java.lang.String |
Nested security map key for the user’s name property. Default value ("name"). |
|
java.lang.String |
Nested security map key for the user’s attributes property. Default value ("attributes"). |
Property | Type | Description |
---|---|---|
|
boolean |
Sets whether CSP is enabled. Default false. |
|
java.lang.String |
Sets the policy directives. |
|
boolean |
If true, the Content-Security-Policy-Report-Only header will be sent instead of Content-Security-Policy. Default false. |
|
boolean |
If true, the CSP header will contain a generated nonce that is made available to view renderers. The nonce should change for each request/response cycle and can be used by views to authorize inlined script blocks. |
|
java.lang.String |
Sets the path the CSP filter should apply to. Default value "/**". |
|
boolean |
Sets whether |
|
java.util.Random |
Sets the |
Views Freemarker Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether freemarker views are enabled. |
|
java.lang.String |
Sets the default extension to use. |
|
boolean |
|
|
int |
|
|
java.util.TimeZone |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
freemarker.core.ArithmeticEngine |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
freemarker.core.TemplateClassResolver |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
java.lang.Boolean |
|
|
java.util.Map |
|
|
java.util.List |
|
|
boolean |
|
|
java.io.InputStream |
|
|
freemarker.cache.TemplateLoader |
|
|
freemarker.cache.TemplateLookupStrategy |
|
|
freemarker.cache.TemplateNameFormat |
|
|
freemarker.cache.TemplateConfigurationFactory |
|
|
freemarker.cache.CacheStorage |
|
|
java.io.File |
|
|
int |
|
|
long |
|
|
boolean |
|
|
freemarker.template.ObjectWrapper |
|
|
java.util.Locale |
|
|
java.util.TimeZone |
|
|
freemarker.template.TemplateExceptionHandler |
|
|
freemarker.template.AttemptExceptionReporter |
|
|
boolean |
|
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
int |
|
|
freemarker.core.OutputFormat |
|
|
java.util.Collection |
|
|
boolean |
|
|
int |
|
|
int |
|
|
int |
|
|
int |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
freemarker.template.TemplateHashModelEx |
|
|
boolean |
|
|
freemarker.template.Version |
the FreeMarker version number where the not 100% backward compatible bug fixes and improvements that you want to enable were already implemented. Defaults to {@link Configuration#DEFAULT_INCOMPATIBLE_IMPROVEMENTS}. |
Views Handlebars Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether handlebars view rendering is enabled. Default value (true). |
|
java.lang.String |
The default extension. Default value ("hbs"). |
Views Rocker Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether Rocker views are enabled. Default value (true). |
|
java.lang.String |
Sets the default extension to use for Rocker templates. Default value ("rocker.html"). |
|
boolean |
Whether hot reloading is enabled. Default value (false). |
|
boolean |
Whether relaxed binding is enabled for dynamic templates. Default value (false). |
Views Soy Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether Soy-backed views are enabled. |
|
boolean |
Turns renaming on or off. |
Views Thymeleaf Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether thymeleaf rendering is enabled. Default value (true). |
|
java.lang.String |
Sets the character encoding to use. Default value ("UTF-8"). |
|
org.thymeleaf.templatemode.TemplateMode |
Sets the template mode. |
|
java.lang.String |
Sets the suffix to use. |
|
boolean |
Sets whether to force the suffix. Default value (false). |
|
boolean |
Sets whether to force template mode. Default value (false). |
|
boolean |
Sets whether templates are cacheable. |
|
java.lang.Long |
Sets the cache TTL in millis. |
|
boolean |
Sets whether templates should be checked for existence. |
|
java.time.Duration |
Sets the cache TTL as a duration. |
Views Velocity Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether velocity views are enabled. Default value (true). |
|
java.lang.String |
Sets the defautlt extension to use for velocity templates. Default value ("vm"). |