Package | Description |
---|---|
java.net |
Modifier and Type | Method and Description |
---|---|
URLConnection |
URL.openConnection()
Returns a
URLConnection instance 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. |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.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.
|
java.lang.Object |
ContentHandler.getContent(URLConnection urlc,
java.lang.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.
|