title: Spring HttpClientErrorException provides no details from response body
body: <p>I'm updating legacy code that uses the <strong>exchange</strong> method of Spring 3.1 Framework's <strong>RestTemplate</strong> class.  I came across what appears to be a major omission of detail.  When the rest client with which I am attempting to communicate returns a 400 status code, a <strong>HttpClientErrorException</strong> is thrown but there is no response body to provide detail as to why the server rejected the request.  There looks like there is no way to retrieve the response body which would provide very helpful information.  </p>
  
  <p>I do not need to figure out what is wrong in my calling code as I have already done that.  I just would like to know if there is some way I could access and log the body of the HTTP response if an error occurs on the call.</p>