You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1126,7 +1126,7 @@ For example, `health` is exposed as `/actuator/health`.
1126
1126
TIP: Actuator is supported natively with Spring MVC, Spring WebFlux, and Jersey.
1127
1127
If both Jersey and Spring MVC are available, Spring MVC will be used.
1128
1128
1129
-
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi}/html[HTML] or {spring-boot-actuator-restapi}/pdf/spring-boot-actuator-web-api.pdf[PDF]).
1129
+
NOTE: Jackson is a required dependency in order to get the correct JSON responses as documented in the API documentation ({spring-boot-actuator-restapi}html[HTML] or {spring-boot-actuator-restapi}pdf/spring-boot-actuator-web-api.pdf[PDF]).
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1418,7 +1418,7 @@ Spring Boot has dedicated support for expressing durations.
1418
1418
If you expose a `java.time.Duration` property, the following formats in application properties are available:
1419
1419
1420
1420
* A regular `long` representation (using milliseconds as the default unit unless a `@DurationUnit` has been specified)
1421
-
* The standard ISO-8601 format {java-api}/java/time/Duration.html#parse-java.lang.CharSequence-[used by `java.time.Duration`]
1421
+
* The standard ISO-8601 format {java-api}java/time/Duration.html#parse-java.lang.CharSequence-[used by `java.time.Duration`]
1422
1422
* A more readable format where the value and the unit are coupled (e.g. `10s` means 10 seconds)
1423
1423
1424
1424
Consider the following example:
@@ -1656,7 +1656,7 @@ See "<<boot-features-external-config-profile-specific-properties>>" for details.
1656
1656
[[boot-features-logging]]
1657
1657
== Logging
1658
1658
Spring Boot uses https://commons.apache.org/logging[Commons Logging] for all internal logging but leaves the underlying log implementation open.
1659
-
Default configurations are provided for {java-api}/java/util/logging/package-summary.html[Java Util Logging], https://logging.apache.org/log4j/2.x/[Log4J2], and https://logback.qos.ch/[Logback].
1659
+
Default configurations are provided for {java-api}java/util/logging/package-summary.html[Java Util Logging], https://logging.apache.org/log4j/2.x/[Log4J2], and https://logback.qos.ch/[Logback].
1660
1660
In each case, loggers are pre-configured to use console output with optional file output also available.
1661
1661
1662
1662
By default, if you use the "`Starters`", Logback is used for logging.
By default, `@SpringBootTest` does not start the server.
6391
-
If you have web endpoints that you want to test against this mock environment, you can additionally configure {spring-framework-docs}/testing.html#spring-mvc-test-framework[`MockMvc`] as shown in the following example:
6391
+
If you have web endpoints that you want to test against this mock environment, you can additionally configure {spring-framework-docs}testing.html#spring-mvc-test-framework[`MockMvc`] as shown in the following example:
6392
6392
6393
6393
[source,java,indent=0]
6394
6394
----
@@ -6728,7 +6728,7 @@ TIP: Sometimes writing Spring MVC tests is not enough; Spring Boot can help you
To test that {spring-framework-docs}/web-reactive.html[Spring WebFlux] controllers are working as expected, you can use the `@WebFluxTest` annotation.
6731
+
To test that {spring-framework-docs}web-reactive.html[Spring WebFlux] controllers are working as expected, you can use the `@WebFluxTest` annotation.
6732
6732
`@WebFluxTest` auto-configures the Spring WebFlux infrastructure and limits scanned beans to `@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`, `WebFilter`, and `WebFluxConfigurer`.
6733
6733
Regular `@Component` beans are not scanned when the `@WebFluxTest` annotation is used.
0 commit comments