I read on the Apache HttpClients tutorial that HttpResponse#close()
shuts down and discards the connection. My question is when we use a BasicHttpClientConnectionManager
which only manages a single connection, I call HttpResponse#close()
will I not be able to reuse the same HttpClient because the connection has been shut down and discarded?
Also, when I do not set a Connection Manager explicitly. Which connection manager is used by the client.
My HttpClients version is 4.5.X.