- u
- the URL to the resource where a connection has to be opened.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if an I/O error occurs during opening the connection.
Establishes a new connection to the resource specified by the URL u. Since different protocols also have unique ways of connecting, it must be overwritten by the subclass.