Re: [Resteasy-users] Why no client.close()?

2014-05-28 Thread Bill Burke
The examples are bad examples of clean code. On 5/28/2014 12:49 AM, Guy Rouillier wrote: The RESTEasy documentation specifically says (section 48.3): Finally, if your javax.ws.rs.client.Client class has created the engine automatically for you, you should call Client.close() and this will

Re: [Resteasy-users] Why no client.close()?

2014-05-28 Thread Bill Burke
Oh, one more thing. ResteasyClient does implement finalize and will close during garbage collection. On 5/28/2014 12:49 AM, Guy Rouillier wrote: The RESTEasy documentation specifically says (section 48.3): Finally, if your javax.ws.rs.client.Client class has created the engine automatically