Hi, I have a few questions regarding proper resource de-allocation, as this topic is not covered in detail in the tutorial.
1. The CloseableHttpClient interface allows you to close an HttpClient. What advantage does manually closing an HttpClient have over simply letting the HttpClient object be garbage collected when I'm done with it? 2. Do I need to use a CloseableHttpResponse and manually close the response if I already use EntityUtils.toByteArray(entity) to fully consume the response? Thanks!