WebFlux 学习 —— 基本概念

官方文档

先看完,再总结

三个核心概念:

258a88dc5d7a9a767be8482f0f0863af7ae.jpg

HttpHandler,WebHandler Api,WebClient

理解第二个概念:

Server nameServer API usedReactive Streams support

Netty

Netty API

Reactor Netty

Undertow

Undertow API

spring-web: Undertow to Reactive Streams bridge

Tomcat

Servlet 3.1 non-blocking I/O; Tomcat API to read and write ByteBuffers vs byte[]

spring-web: Servlet 3.1 non-blocking I/O to Reactive Streams bridge

Jetty

Servlet 3.1 non-blocking I/O; Jetty API to write ByteBuffers vs byte[]

spring-web: Servlet 3.1 non-blocking I/O to Reactive Streams bridge

Servlet 3.1 container

Servlet 3.1 non-blocking I/O

spring-web: Servlet 3.1 non-blocking I/O to Reactive Streams bridge

根据下面这句话,WebHandler Api 是为了统一不同的 Server Api (servlet3.1 只是其中一个分支)

4ce93d4bade665904675fb93db235f71ae2.jpg

根据前端控制器模型,设计了一个集中的 WebHandler —— DispatcherHandler,用于调度路由以及渲染视图。

 

转载于:https://my.oschina.net/lemos/blog/2965146

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值