Code example for URLConnection

Methods: connectgetInputStreamgetOutputStreamsetConnectTimeoutsetDoOutputsetRequestProperty