I just found that org.jboss.resteasy.client.ClientRequest is deprecated, invalidating everything I could find on Google about how to use the RESTEasy c
The RESTEasy documentation says we should close the client connection; that would be client.close() in your example. But every example I can find does not do this. Will the client connection get closed automatically during garbage collection?