No, there are no cases. It's implicitly executed on demand. It's even specified in the documentation. Here's an extract of the URLConnection#connect() javadoc:
Operations that depend on being connected, like getContentLength, will implicitly perform the connection, if necessary.