The URLConnection class represents a connection to the resource indicated by the URL. It is an abstract class that must be subclassified to provide Connect () implementation
Abstract Void Connect () // Establishing a URL Connection Object GetContent () // Gets the contents of the URL String getContenTencoding () // Get the contents of the response data Code int getContentLength () // Get the content length of the response data String getContentType () / / Get the content type of the response data long getdate () // Get the Create Time of Response Data Long getExpiration () // Get the termination time of the response data InputStream getInputStream () // Get the input stream for the connection LONG GETLASTMODITIFIED () // Get The last modification of the response data OutputStream getOutputStream () // Get the output stream of the connection
The URLConnection object does not need to be created himself, but is returned by the URL object.