The connection / request isn't made until the connect() method is called. The connect() method is called implicitly in the getInputStream() method. So in your call the HTTP request is made when you call the getInputStream() method.
Joined: May 30, 2011
Brilliant! Thank you!
subject: After which method java send real request to server?