Code example for URLConnection

Methods: getInputStreamgetOutputStreamsetDoOutput