springboot Templating Properties 模板引擎配置属性 2306
Name | Description | Default Value |
---|---|---|
|
Whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. |
|
|
Whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. |
|
|
Whether to enable template caching. |
|
|
Template encoding. |
|
|
Whether to check that the templates location exists. |
|
|
Content-Type value. |
|
|
Whether to enable MVC view resolution for this technology. |
|
|
Whether all request attributes should be added to the model prior to merging with the template. |
|
|
Whether all HttpSession attributes should be added to the model prior to merging with the template. |
|
|
Whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext". |
|
|
Whether to prefer file system access for template loading to enable hot detection of template changes. When a template path is detected as a directory, templates are loaded from the directory only and other matching classpath locations will not be considered. |
|
|
Prefix that gets prepended to view names when building a URL. |
|
|
Name of the RequestContext attribute for all views. |
|
|
Well-known FreeMarker keys which are passed to FreeMarker's Configuration. |
|
|
Suffix that gets appended to view names when building a URL. |
|
|
Comma-separated list of template paths. |
|
|
View names that can be resolved. |
|
|
Whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. |
|
|
Whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. |
|
|
Whether to enable template caching. |
|
|
Template encoding. |
|
|
Whether to check that the templates location exists. |
|
|
See GroovyMarkupConfigurer |
|
|
Content-Type value. |
|
|
Whether to enable MVC view resolution for this technology. |
|
|
Whether all request attributes should be added to the model prior to merging with the template. |
|
|
Whether all HttpSession attributes should be added to the model prior to merging with the template. |
|
|
Whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext". |
|
|
Prefix that gets prepended to view names when building a URL. |
|
|
Name of the RequestContext attribute for all views. |
|
|
Template path. |
|
|
Suffix that gets appended to view names when building a URL. |
|
|
View names that can be resolved. |
|
|
Template encoding. |
|
|
Whether to check that the templates location exists. |
|
|
Whether to enable MVC view resolution for Mustache. |
|
|
Prefix to apply to template names. |
|
|
Media types supported by Mustache views. |
|
|
Name of the RequestContext attribute for all views. |
|
|
Whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. |
|
|
Whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. |
|
|
Whether to enable template caching. |
|
|
Content-Type value. |
|
|
Whether all request attributes should be added to the model prior to merging with the template. |
|
|
Whether all HttpSession attributes should be added to the model prior to merging with the template. |
|
|
Whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext". |
|
|
Suffix to apply to template names. |
|
|
View names that can be resolved. |
|
|
Whether to enable template caching. |
|
|
Whether to check that the template exists before rendering it. |
|
|
Whether to check that the templates location exists. |
|
|
Enable the SpringEL compiler in SpringEL expressions. |
|
|
Whether to enable Thymeleaf view resolution for Web frameworks. |
|
|
Template files encoding. |
|
|
Comma-separated list of view names (patterns allowed) that should be excluded from resolution. |
|
|
Template mode to be applied to templates. See also Thymeleaf's TemplateMode enum. |
|
|
Prefix that gets prepended to view names when building a URL. |
|
|
Comma-separated list of view names (patterns allowed) that should be the only ones executed in CHUNKED mode when a max chunk size is set. |
|
|
Comma-separated list of view names (patterns allowed) that should be executed in FULL mode even if a max chunk size is set. |
|
|
Maximum size of data buffers used for writing to the response. Templates will execute in CHUNKED mode by default if this is set. |
|
|
Media types supported by the view technology. |
|
|
Whether hidden form inputs acting as markers for checkboxes should be rendered before the checkbox element itself. |
|
|
Content-Type value written to HTTP responses. |
|
|
Whether Thymeleaf should start writing partial output as soon as possible or buffer until template processing is finished. |
|
|
Suffix that gets appended to view names when building a URL. |
|
|
Order of the template resolver in the chain. By default, the template resolver is first in the chain. Order start at 1 and should only be set if you have defined additional "TemplateResolver" beans. |
|
|
Comma-separated list of view names (patterns allowed) that can be resolved. |