Hey,

could please anybody explain to me, how to release connection for sequential
request execution with singleton HttpClient instance ? There is no
HttpMethod as it used to be in httpClient 3.x ...

I setup HttpGet/Post,  get the response httpclient.execute(request); and
read the stream from its entity and close the stream... But when I want to
do all this again with a new request, I get "Invalid use of
SingleClientConnManager: connection still allocated".

It looks it might be done via ClientConnectionManager that I can get from
httpClient, but it doesn't seem right.

Best Regards, Jakub

Reply via email to