How can I get access to the body after bodyToMono fails with ClassCastException?

后端 未结 0 1045
广开言路
广开言路 2020-12-28 09:25

I am making a call with WebClient and I can either get a GoodResponse.class or BadResponse.class. I am doing bodyToMono(GoodResponse.class)<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题