Fixed error in webflux.adoc

Closes gh-23957
This commit is contained in:
denisgalaybo 2019-11-08 21:36:37 +07:00 committed by Rossen Stoyanchev
parent fd453a0753
commit b0b6423714
1 changed files with 2 additions and 2 deletions

View File

@ -997,13 +997,13 @@ as the following example shows:
.Java
----
ApplicationContext context = ...
HttpHandler handler = WebHttpHandlerBuilder.applicationContext(context);
HttpHandler handler = WebHttpHandlerBuilder.applicationContext(context).build();
----
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
.Kotlin
----
val context: ApplicationContext = ...
val handler = WebHttpHandlerBuilder.applicationContext(context)
val handler = WebHttpHandlerBuilder.applicationContext(context).build()
----
The resulting `HttpHandler` is ready for use with a <<webflux-httphandler, server adapter>>.