Skip to content

Commit

Permalink
Fixed error in webflux.adoc
Browse files Browse the repository at this point in the history
Closes gh-23957
  • Loading branch information
denisgalaybo authored and rstoyanchev committed Nov 8, 2019
1 parent fd453a0 commit b0b6423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/asciidoc/web/webflux.adoc
Expand Up @@ -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>>.
Expand Down

0 comments on commit b0b6423

Please sign in to comment.