From f5804b40b2cc5139149c97f67f6905a0bb3a6cde Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 7 Mar 2017 20:37:52 -0500 Subject: [PATCH] Fix typo in docs --- src/asciidoc/web-flux.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asciidoc/web-flux.adoc b/src/asciidoc/web-flux.adoc index a29c5d5f9f..fbe1cd1df0 100644 --- a/src/asciidoc/web-flux.adoc +++ b/src/asciidoc/web-flux.adoc @@ -347,7 +347,7 @@ HttpServlet servlet = new ServletHttpHandlerAdapter(handler); // Reactor Netty ReactorHttpHandlerAdapter adapter = new ReactorHttpHandlerAdapter(handler); -HttpServer.create(host, port).newHandler(adapter).onClose().block(); +HttpServer.create(host, port).newHandler(adapter).block(); // RxNetty RxNettyHttpHandlerAdapter adapter = new RxNettyHttpHandlerAdapter(handler);