简体   繁体   English

捕获Apache httpclient传输的数据作为TCP连接的一部分

[英]Capture Apache httpclient transmitted data as part of TCP connections

In my application, I have used apache HttpClient. 在我的应用程序中,我使用了Apache HttpClient。 Now I would like to monitor the request and response from the capture data transmitted by the httpclient. 现在,我想监视httpclient传输的捕获数据的请求和响应。 Is it possible to know which ports are opened by the HttpClient. 是否有可能知道HttpClient打开了哪些端口。 I am using Linux, so can I use netstat to see which ports are open by my java application process? 我正在使用Linux,因此可以使用netstat查看我的Java应用程序进程打开了哪些端口吗?

您可以通过所描述的上下文日志转向获取有关连接管理的详细信息在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM