Capture Apache httpclient transmitted data as part of TCP connections

938 Views Asked by At

In my application, I have used apache HttpClient. Now I would like to monitor the request and response from the capture data transmitted by the httpclient. Is it possible to know which ports are opened by the HttpClient. I am using Linux, so can I use netstat to see which ports are open by my java application process?

1

There are 1 best solutions below

0
On

You can get detailed info about connection management by turning on context logging as described here