open
Opens a new connection with the given URL.
If another open call is made before the current connection is closed with close then the new connection will wait indefinitely until the current connection closes. The connection is only marked open when every step succeeds, so a failed open leaves this Connector reusable.
Return
Result.success once the connection is open and ready to be read from; Result.failure holding a MalformedURLException if urlName is not a valid url, an java.io.IOException if the connection or its input stream could not be opened, or an InterruptedException if the wait for the previous connection to close was interrupted
Parameters
urlName
the url that you are trying to access