首页 文章

使用SpringBoot WebClient时如何拦截请求

提问于
浏览
0

我正在尝试使用 WebClient 来调用我的restServices . 之前在 RestTemplate 上,我们定义了 ClientHttpRequestInterceptor 并附加到 RestTemplate 以拦截和修改请求 . 使用 WebClient ,有没有办法做同样的事情?

谢谢,

-Sreeni

2 回答

相关问题