Science, asked by ghoshrupa1675, 1 year ago

Difference between closeablehttpclient and httpclient

Answers

Answered by idalwai5
1
CloseableHttpClient is an abstract class which is the base implementation of HttpClient that also implements java.io.Closeable.

HttpClient resource deallocation: When an instance CloseableHttpClient is no longer needed and is about to go out of scope the connection manager associated with it must be shut down by calling the CloseableHttpClient#close() method.

Similar questions