Quantcast
Viewing all articles
Browse latest Browse all 3667

Spring Restclient.exchange null response handling in spring 6.2.3

when migrating from spring 6.1.5 to spring 6.2.3 I noticed in the RestClient interface that the the exchange method is now nullable. link to docs

How could you end up in a situation where Restclient returns null? Is the correct pattern now to have a default response when null is returned?


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>