Polish reference documentation for WebMvc.fn

This commit is contained in:
Arjen Poutsma 2019-09-23 16:08:50 +02:00
parent 652bbdad2a
commit 9ffecc5059
1 changed files with 4 additions and 4 deletions

View File

@ -51,15 +51,15 @@ as the following example shows:
// ...
public Mono<ServerResponse> listPeople(ServerRequest request) {
public ServerResponse listPeople(ServerRequest request) {
// ...
}
public Mono<ServerResponse> createPerson(ServerRequest request) {
public ServerResponse createPerson(ServerRequest request) {
// ...
}
public Mono<ServerResponse> getPerson(ServerRequest request) {
public ServerResponse getPerson(ServerRequest request) {
// ...
}
}
@ -630,7 +630,7 @@ The following example shows a WebFlux Java configuration:
.Kotlin
----
@Configuration
@EnableWebFlux
@EnableMvc
class WebConfig : WebMvcConfigurer {
@Bean