Closes gh-11126
This commit is contained in:
Johnny Lim
2017-11-23 23:04:34 +09:00
committed by Andy Wilkinson
parent 97bb70cd0c
commit 01a48412d2
13 changed files with 18 additions and 26 deletions

View File

@@ -469,7 +469,7 @@ content into your application. Rather, pick only the properties that you need.
spring.thymeleaf.enable-spring-el-compiler=false # Enable the SpringEL compiler in SpringEL expressions.
spring.thymeleaf.encoding=UTF-8 # Template files encoding.
spring.thymeleaf.excluded-view-names= # Comma-separated list of view names that should be excluded from resolution.
spring.thymeleaf.mode=HTML5 # Template mode to be applied to templates. See also Thymleaf's TemplateMode enum.
spring.thymeleaf.mode=HTML5 # Template mode to be applied to templates. See also Thymeleaf's TemplateMode enum.
spring.thymeleaf.prefix=classpath:/templates/ # Prefix that gets prepended to view names when building a URL.
spring.thymeleaf.reactive.chunked-mode-view-names= # 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.
spring.thymeleaf.reactive.full-mode-view-names= # Comma-separated list of view names (patterns allowed) that should be executed in FULL mode even if a max chunk size is set.

View File

@@ -183,7 +183,7 @@ register an `EndpointFilter` bean.
=== Securing HTTP Endpoints
You should take care to secure HTTP endpoints in the same way that you would any other
sensitive URL. Spring Boot will not apply any security on your behalf, however, it does
provide some convenient `RequestMatcher`s that can be used in combination with Spring
provide some convenient ``RequestMatcher``s that can be used in combination with Spring
Security.
A typical Spring Security configuration could look something like this:

View File

@@ -132,7 +132,7 @@ Maven or Gradle would but without requiring you to use a build tool.
Spring Boot extends this technique further and tries to deduce which libraries to "`grab`"
based on your code. For example, since the `WebApplication` code shown previously uses
`@RestController` annotations, Spring Boot grabs"`Tomcat`" and "`Spring MVC`".
`@RestController` annotations, Spring Boot grabs "Tomcat" and "Spring MVC".
The following items are used as "`grab hints`":
@@ -254,7 +254,7 @@ line:
[source,java,indent=0]
----
`@DependencyManagementBom('io.spring.platform:platform-bom:1.1.2.RELEASE')`.
@DependencyManagementBom('io.spring.platform:platform-bom:1.1.2.RELEASE')
----

View File

@@ -1596,8 +1596,8 @@ configuration (for example, `logback-spring.xml` rather than `logback.xml`). If
standard configuration locations, Spring cannot completely control log initialization.
WARNING: There are known classloading issues with Java Util Logging that cause problems
when running from an '`executable jar`'. We recommend that you avoid it when running from
an '`executable jar`'if at all possible.
when running from an 'executable jar'. We recommend that you avoid it when running from
an 'executable jar' if at all possible.
To help with the customization, some other properties are transferred from the Spring
`Environment` to System properties, as described in the following table:
@@ -5949,7 +5949,7 @@ To test that object JSON serialization and deserialization is working as expecte
use the `@JsonTest` annotation. `@JsonTest` auto-configures the available supported JSON
mapper, which can be one of the following libraries:
* Jackson `ObjectMapper`, any `@JsonComponent` beans and any Jackson `Modules`
* Jackson `ObjectMapper`, any `@JsonComponent` beans and any Jackson ``Module``s
* `Gson`
* `Jsonb`
@@ -6215,7 +6215,7 @@ bean, which provides an alternative to the standard JPA `EntityManager` that is
specifically designed for tests. If you want to use `TestEntityManager` outside of
`@DataJpaTest` instances, you can also use the `@AutoConfigureTestEntityManager`
annotation. A `JdbcTemplate` is also available if you need that. The following example
shows the `@DataJpaTest`annotation in use:
shows the `@DataJpaTest` annotation in use:
[source,java,indent=0]
----