Configuration Reference
Version:3.3.0
Views Core Config Properties
🔗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 |
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"). |
Views Freemarker Config Properties
🔗Property | Type | Description |
---|---|---|
|
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 |
|
|
freemarker.core.TruncateBuiltinAlgorithm |
|
|
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 |
|
|
boolean |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
java.util.Map |
|
|
freemarker.template.TemplateHashModelEx |
|
|
boolean |
|
|
boolean |
Whether freemarker views are enabled. |
|
java.lang.String |
Sets the default extension to use. |
|
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 Jte Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether to enable dynamic reloading of templates. Default value (false). |
|
java.lang.String |
Root directory under which to write generated source and class files. . Default value ("build/jte-classes"). |
Views Pebble Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether the component is enabled. Default value (true). |
|
java.lang.String |
The default extension. Default value ("html"). |
|
boolean |
Enable/disable all caches, i.e. cache used by the engine to store compiled PebbleTemplate instances and tags cache. Default value (true). |
|
boolean |
Changes the newLineTrimming setting of the PebbleEngine. By default, Pebble will trim a new line that immediately follows a Pebble tag. If set to false, then the first newline following a Pebble tag won’t be trimmed. All newlines will be preserved. Default value (true). |
|
boolean |
Sets whether or not escaping should be performed automatically. Default value (true). |
|
java.lang.String |
Sets the default escaping strategy of the built-in escaper extension. Default value (EscapeFilter.HTML_ESCAPE_STRATEGY). |
|
boolean |
Changes the strictVariables setting of the PebbleEngine. Default value (false). |
|
boolean |
Enable/disable greedy matching mode for finding java method. Default is disabled. If enabled, when can not find perfect method (method name, parameter length and parameter type are all satisfied), reduce the limit of the parameter type, try to find other method which has compatible parameter types. Default value (false). |
|
boolean |
Sets whether or not core operators overrides should be allowed. Default value (false). |
|
boolean |
Enable/disable treat literal decimal as Integer. Default value (false), treated as Long. |
|
boolean |
Enable/disable treat literal numbers as BigDecimals. Default value (false), treated as Long/Double. |
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. Default value |
|
boolean |
Turns renaming on or off. Default value |
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"). |