title: How to monitor my network connection with Java?
body: <p>Is there any sample code that can report the url that my PC is connecting with Java?</p>
  
  <p>While I use my browser to connect to different sites and watch video online, it should capture the urls. Is it doable in Java?</p>
  
  <p>I don't want detailed traffic, just record the urls.</p>