如何调试 Jersey 2.x 客户端 Api

How to debug Jersey 2.x Client Api

我需要在发送之前查看 Jerset 2.x 客户端 API post 请求的内容。 我发现了这个:

jersey.api.client.WebResource - how to debug/log the request headers

但它与泽西岛有关 1.x

谢谢

查看 Daniel Kaplan 的回答 here
请注意 - 我遵循了您问题中的 link 并完成了完整的 post,link 得到了答案。