How to use the Spring WebClient with Jetty, instead of Netty?

后端 未结 2 774
既然无缘
既然无缘 2021-01-18 10:22

According to the documentation it is possible to use the Spring Reactive WebClient with a different server as Netty:

WebClient provides a higher level

2条回答
  •  不要未来只要你来
    2021-01-18 11:21

    Right now, in Spring Framework, WebClient has only one available ClientHttpConnector implementation, which is powered by Reactor Netty. This explains the current situation - using WebClient means you need Reactor Netty as a dependency.

    Note that there's an existing issue about supporting Jetty Client as an alternative, see SPR-15092.

提交回复
热议问题