Code example for URLConnection

Methods: connectgetInputStreamsetDoInput