...
For simple use cases, the HttpClientSupport class includes a number of toString
methods that can translate the entire response into a string using appropriate character set handling and while enforcing size limits. This supports chunked responses for which the server doesn't know the actual size ahead of time, which is common with web services.
...