Handling error status codes in Java 11 HttpClient

前端 未结 0 1499
天命终不由人
天命终不由人 2021-01-27 22:42

I\'m using Java 11\'s HttpClient like below. What is the best way to handle 400/500 error exceptions? I\'m thinking of having a thenApply with a load o

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