Spring WebClient - Can I give multiple .bodyToMono(ClassTye.class) if response structure is not fixed?

前端 未结 0 1550
庸人自扰
庸人自扰 2021-02-08 03:26

I am calling some rest service using spring WebClient. Depending on different circumstances, the response will be either - say SuccessResponseDTO or ErrorResp

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