Preface: Springboot integrates the mainstream third-party framework, but needs to use the Springboot set of configuration methods. But I just listed here is very very commonly used, you can see the post of several blog, slowly will add. Of course, the official document also has a corresponding configuration, unfortunately there is no comment.
Spring.mobile.devicedelegatingviewresolver.enable-fallback
If the fallback solution is supported, the default is False
Spring.mobile.devicedelegatingviewresolver.enabled
Whether to start Device View resolver, the default is: false
Spring.mobile.devicedelegatingviewresolver.mobile-prefix
Set the prefix for the mobile view by default: mobile/
Spring.mobile.devicedelegatingviewresolver.mobile-suffix
Set the suffix of the mobile view
Spring.mobile.devicedelegatingviewresolver.normal-prefix
Set the view prefix for a normal device
Spring.mobile.devicedelegatingviewresolver.normal-suffix
To set the suffix of a normal device view
Spring.mobile.devicedelegatingviewresolver.tablet-prefix
Set the tablet view prefix, default: tablet/
Spring.mobile.devicedelegatingviewresolver.tablet-suffix
Sets the tablet view suffix.
Spring.mobile.sitepreference.enabled
If Sitepreferencehandler is enabled, the default is: True
Spring.resources.add-mappings
Whether to turn on default resource handling, which is true by default
Spring.resources.cache-period
Sets the cache aging of the resource, in seconds.
Spring.resources.chain.cache
Whether to turn on caching, by default: True
Spring.resources.chain.enabled
Whether to turn on resource handling chain, default to False
Spring.resources.chain.html-application-cache
Whether to turn on cache manifest overrides for the H5 app, default to: False
Spring.resources.chain.strategy.content.enabled
Whether to turn on content versioning policy, default to False
Spring.resources.chain.strategy.content.paths
Specifies the path to the version to apply, separated by commas, by default: [/**]
Spring.resources.chain.strategy.fixed.enabled
Whether to turn on fixed version policy, default to False
Spring.resources.chain.strategy.fixed.paths
Specifies the path to which the version policy is to be applied, with multiple comma-delimited
Spring.resources.chain.strategy.fixed.version
Specifies the version number used by the version policy
Spring.resources.static-locations
Specify a static resource path, default is classpath:[/meta-inf/resources/,/resources/,/static/,/public/], and context:/
Spring.freemarker.allow-request-override
Specifies whether the HttpServletRequest property can overwrite an item with the same name as the controller's model
Spring.freemarker.allow-session-override
Specifies whether the HttpSession property can overwrite an item with the same name as the controller's model
Spring.freemarker.cache
Whether to open template caching.
Spring.freemarker.charset
Sets the encoding of the template.
Spring.freemarker.check-template-location
Whether to check if the templates path exists.
Spring.freemarker.content-type
Set the Content-type.
Spring.freemarker.enabled
Whether MVC is allowed to use Freemarker.
Spring.freemarker.expose-request-attributes
Sets all request properties to be added to the model when the merge is in the template.
Spring.freemarker.expose-session-attributes
Sets all httpsession properties to be added to the model when the merge is in the template.
Spring.freemarker.expose-spring-macro-helpers
Set whether to expose RequestContext to spring's macro library in the form of Springmacrorequestcontext
Spring.freemarker.prefer-file-system-access
Whether to load the template from the file system first to support hot loading, by default True
Spring.freemarker.prefix
Sets the prefix for the freemarker template.
Spring.freemarker.request-context-attribute
Specifies the name of the RequestContext property.
Spring.freemarker.settings
Set Freemarker keys.
Spring.freemarker.suffix
Sets the suffix of the template.
Spring.freemarker.template-loader-path
Sets the load path for the template, separated by commas, by default: ["classpath:/templates/"]
Spring.freemarker.view-names
Specifies a list of views that use a template.
Spring.velocity.allow-request-override
Specifies whether the HttpServletRequest property can overwrite an item with the same name as the controller's model
Spring.velocity.allow-session-override
Specifies whether the HttpSession property can overwrite an item with the same name as the controller's model
Spring.velocity.cache
Whether to open the template cache
Spring.velocity.charset
Set Template encoding
Spring.velocity.check-template-location
Whether to check if the template path exists.
Spring.velocity.content-type
Set the value of the ContentType
Spring.velocity.date-tool-attribute
Sets the name of the Datetool exposed to the velocity context
Spring.velocity.enabled
Set whether MVC is allowed to use velocity
Spring.velocity.expose-request-attributes
Whether the request property is added to the model when the merge template is in
Spring.velocity.expose-session-attributes
Whether to add the HttpSession property to the model when the merge template is in
Spring.velocity.expose-spring-macro-helpers
Set whether to expose RequestContext to spring's macro class library in the name of Springmacrorequestcontext
Spring.velocity.number-tool-attribute
Sets the name of the Numbertool exposed to the velocity context
Spring.velocity.prefer-file-system-access
Whether to load the template from the file system first to support hot load, default to True
Spring.velocity.prefix
Sets the prefix for the velocity template.
Spring.velocity.properties
Sets the additional properties of velocity.
Spring.velocity.request-context-attribute
Sets the name of the RequestContext attribute.
Spring.velocity.resource-loader-path
Set the template path, default to: classpath:/templates/
Spring.velocity.suffix
Sets the suffix of the velocity template.
Spring.velocity.toolbox-config-location
Set the path to the Velocity Toolbox configuration file, such as/web-inf/toolbox.xml.
Spring.velocity.view-names
Sets the name of the view that needs to be resolved.
Spring.thymeleaf.cache
Whether to turn on template caching, by default True
Spring.thymeleaf.check-template-location
Whether to check if the template path exists, by default true
Spring.thymeleaf.content-type
Specify Content-type, which defaults to: text/html
Spring.thymeleaf.enabled
Allow MVC to use Thymeleaf, default: True
Spring.thymeleaf.encoding
Specifies the encoding of the template, which defaults to: UTF-8
Spring.thymeleaf.excluded-view-names
Specifies the name of the view that does not use a template, separated by commas.
Spring.thymeleaf.mode
Specify the mode of the template, see Standardtemplatemodehandlers, default to: HTML5
Spring.thymeleaf.prefix
Specifies the prefix for the template, which defaults to: classpath:/templates/
Spring.thymeleaf.suffix
Specifies the suffix of the template, which defaults to:. html
Spring.thymeleaf.template-resolver-order
Specifies the parse order of the template, which defaults to the first one.
Spring.thymeleaf.view-names
Specifies the name of the view using the template, separated by commas.
Spring.groovy.template.allow-request-override
Specifies whether the HttpServletRequest property can overwrite an item with the same name as the controller's model
Spring.groovy.template.allow-session-override
Specifies whether the HttpSession property can overwrite an item with the same name as the controller's model
Spring.groovy.template.cache
Whether to open the template cache.
Spring.groovy.template.charset
Specifies the template encoding.
Spring.groovy.template.check-template-location
Whether to check if the path to the template exists.
Spring.groovy.template.configuration.auto-escape
Whether to automatically troubleshoot model variables when rendering a template, by default: false
Spring.groovy.template.configuration.auto-indent
Whether to automatically indent when the template is rendered, false by default
Spring.groovy.template.configuration.auto-indent-string
If Auto indent is enabled, whether to use SPACES or tab, the default is: SPACES
Spring.groovy.template.configuration.auto-new-line
Whether to output line breaks when rendering the template, false by default
Spring.groovy.template.configuration.base-template-class
Specifies the template base class.
Spring.groovy.template.configuration.cache-templates
If you want to cache the template, the default is True
Spring.groovy.template.configuration.declaration-encoding
Encoding used when writing to the Declaration header
Spring.groovy.template.configuration.expand-empty-elements
Whether to use <br/>
this form, or <br></br>
This expansion mode, the default is: false)
Spring.groovy.template.configuration.locale
Specifies the template locale.
Spring.groovy.template.configuration.new-line-string
When auto wrap is enabled, the output of newline is defaulted to the value of the system's Line.separator property
Spring.groovy.template.configuration.resource-loader-path
Specifies the template path for groovy, which defaults to classpath:/templates/
Spring.groovy.template.configuration.use-double-quotes
Specify whether to use double or single quotes for the property, false by default
Spring.groovy.template.content-type
Specifies Content-type.
Spring.groovy.template.enabled
Whether to turn on support for groovy templates.
Spring.groovy.template.expose-request-attributes
Sets all request properties to be added to the model when the merge is in the template.
Spring.groovy.template.expose-session-attributes
Sets all request properties to be added to the model when the merge is in the template.
Spring.groovy.template.expose-spring-macro-helpers
Set whether to expose RequestContext to spring's macro library in the form of Springmacrorequestcontext
Spring.groovy.template.prefix
Specifies the prefix for the template.
Spring.groovy.template.request-context-attribute
Specifies the name of the RequestContext property.
Spring.groovy.template.resource-loader-path
Specifies the path to the template, which defaults to: classpath:/templates/
Spring.groovy.template.suffix
Specify the suffix of the template
Spring.groovy.template.view-names
Specifies the name of the view to use for the template.
Spring.jackson.date-format
Specify the date format, such as Yyyy-mm-dd HH:mm:ss, or the fully qualified name of the specific formatting class
Spring.jackson.deserialization
Whether to turn on the anti-serialization of Jackson
Spring.jackson.generator
Whether to turn on JSON generators.
Spring.jackson.joda-date-time-format
Specifies the format of the Joda date/time, such as Yyyy-mm-dd HH:mm:ss). If not configured, DateFormat will act as backup
Spring.jackson.locale
Specifies the locale used by JSON.
Spring.jackson.mapper
Whether to turn on Jackson Universal features.
Spring.jackson.parser
Whether to turn on Jackson's parser feature.
Spring.jackson.property-naming-strategy
Specifies Propertynamingstrategy (camel_case_to_lower_case_with_underscores) or the fully qualified class name of the Propertynamingstrategy subclass.
Spring.jackson.serialization
Whether to turn on Jackson serialization.
Spring.jackson.serialization-inclusion
Specifies the inclusion of the property at serialization time, viewing the Jsoninclude.include enumeration in detail.
Spring.jackson.time-zone
Specify a date to format the time zone, such as America/los_angeles or gmt+10.