Polish
Closes gh-11720
This commit is contained in:
@@ -1225,7 +1225,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
management.endpoint.loggers.cache.time-to-live=0ms # Maximum time that a response can be cached.
|
||||
management.endpoint.loggers.enabled= # Whether to enable the loggers endpoint.
|
||||
|
||||
# REQUEST MAPPING ENDPOINT ({sc-spring-boot-actuator}/web/MappingsEndpoint.{sc-ext}[MappingsEndpoint])
|
||||
# REQUEST MAPPING ENDPOINT ({sc-spring-boot-actuator}/web/mappings/MappingsEndpoint.{sc-ext}[MappingsEndpoint])
|
||||
management.endpoint.mappings.cache.time-to-live=0ms # Maximum time that a response can be cached.
|
||||
management.endpoint.mappings.enabled= # Whether to enable the mappings endpoint.
|
||||
|
||||
|
||||
@@ -2391,7 +2391,7 @@ following example:
|
||||
}
|
||||
|
||||
@GetMapping("/{user}/customers")
|
||||
Flux<Customer> getUserCustomers(@PathVariable Long user) {
|
||||
public Flux<Customer> getUserCustomers(@PathVariable Long user) {
|
||||
// ...
|
||||
}
|
||||
|
||||
@@ -2437,7 +2437,7 @@ actual handling of the requests, as shown in the following example:
|
||||
}
|
||||
----
|
||||
|
||||
WebFlux is part of the Spring Framework. and detailed information is available in its
|
||||
WebFlux is part of the Spring Framework and detailed information is available in its
|
||||
{spring-reference}web-reactive.html#webflux-fn[reference documentation].
|
||||
|
||||
TIP: You can define as many `RouterFunction` beans as you like to modularize the
|
||||
@@ -6313,7 +6313,7 @@ Often, `@WebFluxTest` is limited to a single controller and used in combination
|
||||
`@MockBean` annotation to provide mock implementations for required collaborators.
|
||||
|
||||
`@WebFluxTest` also auto-configures
|
||||
{spring-reference}testing.html#webtestclient[`WebTestClient`]`WebTestClient`, which offers
|
||||
{spring-reference}testing.html#webtestclient[`WebTestClient`], which offers
|
||||
a powerful way to quickly test WebFlux controllers without needing to start a full HTTP
|
||||
server.
|
||||
|
||||
|
||||
@@ -42,4 +42,4 @@ public class RandomPortTestRestTemplateExampleTests {
|
||||
}
|
||||
|
||||
}
|
||||
// tag::test-random-port[]
|
||||
// end::test-random-port[]
|
||||
|
||||
@@ -41,4 +41,4 @@ public class RandomPortWebTestClientExampleTests {
|
||||
}
|
||||
|
||||
}
|
||||
// tag::test-random-port[]
|
||||
// end::test-random-port[]
|
||||
|
||||
Reference in New Issue
Block a user