What to use instead of org.jboss.resteasy.client.ClientRequest?

前端 未结 3 1039
你的背包
你的背包 2021-02-05 03:24

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

3条回答
  •  -上瘾入骨i
    2021-02-05 03:47

    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?

提交回复
热议问题