Browse Source

Fix typo in docs

pull/1353/head
Rossen Stoyanchev 8 years ago
parent
commit
f5804b40b2
  1. 2
      src/asciidoc/web-flux.adoc

2
src/asciidoc/web-flux.adoc

@ -347,7 +347,7 @@ HttpServlet servlet = new ServletHttpHandlerAdapter(handler);
// Reactor Netty // Reactor Netty
ReactorHttpHandlerAdapter adapter = new ReactorHttpHandlerAdapter(handler); ReactorHttpHandlerAdapter adapter = new ReactorHttpHandlerAdapter(handler);
HttpServer.create(host, port).newHandler(adapter).onClose().block(); HttpServer.create(host, port).newHandler(adapter).block();
// RxNetty // RxNetty
RxNettyHttpHandlerAdapter adapter = new RxNettyHttpHandlerAdapter(handler); RxNettyHttpHandlerAdapter adapter = new RxNettyHttpHandlerAdapter(handler);

Loading…
Cancel
Save