Workflow of Spring WebFlux

The Spring WebFlux workflow is similar to the Spring Web MVC workflow; the main difference is that it doesn't rely on Servlet anymore. Instead, it uses a DispatcherHandler, which is non-blocking. Furthermore, it makes use of ServerHttpRequest and ServerHttpResponse instead of HttpServletRequest and HttpServletResponse from Servlet for its request and response representation.

In addition to that, it uses Flux<DataBuffer> (this is a non-blocking way to send a 0..N number of messages, data, and so on) instead of InputStream and OutputStream to read and write data in a non-blocking manner. It uses a HandlerMapping and HandlerAdapter, which are also non-blocking.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.27.72