HttpURLConnection: Is it necessary to call connect()?
- by stormin986
Many examples I've seen don't explicitly call connect(). Instead they just use getInputStream() or getResponseCode().
I'm assuming all of these HttpURLConnection methods that require a connection just call connect() themselves?
Are there any cases where connect() must be explicitly called for an HttpURLConnection?