Code example for URLConnection

Methods: getContentLengthgetContentTypegetInputStream