Code example for URLConnection

Methods: connectgetInputStreamsetConnectTimeout