Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if an error occurs obtaining the content.
Returns an object representing the content of the resource this URLConnection is connected to. First, it attempts to get the content type from the method getContentType() which looks at the response header field "Content-Type". If none is found it will guess the content type from the filename extension. If that fails the stream itself will be used to guess the content type.