JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
java.net.URLConnection

Packages that use URLConnection
java.net Provides the classes for implementing networking applications. 
 

Uses of URLConnection in java.net
 

Subclasses of URLConnection in java.net
 class HttpURLConnection
          A URLConnection with support for HTTP-specific features.
 class JarURLConnection
          A URL Connection to a Java ARchive (JAR) file or an entry in a JAR file.
 

Fields in java.net declared as URLConnection
protected  URLConnection JarURLConnection.jarFileURLConnection
          The connection to the JAR file URL, if the connection has been initiated.
 

Methods in java.net that return URLConnection
 URLConnection URL.openConnection()
          Returns a URLConnection object that represents a connection to the remote object referred to by the URL.
protected abstract  URLConnection URLStreamHandler.openConnection(URL u)
          Opens a connection to the object referenced by the URL argument.
 

Methods in java.net with parameters of type URLConnection
abstract  Object ContentHandler.getContent(URLConnection urlc)
          Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it.
 Object ContentHandler.getContent(URLConnection urlc, Class[] classes)
          Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.