ice.net
Class HttpURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
ice.net.HttpURLStreamHandler
- public class HttpURLStreamHandler
- extends URLStreamHandler
|
Method Summary |
static void |
closeAll()
Closes all open connections made by handlers of this type. |
URLConnection |
openConnection(URL u)
Opens a connection to the object referenced by the
URL argument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpURLStreamHandler
public HttpURLStreamHandler()
closeAll
public static void closeAll()
- Closes all open connections made by handlers of this type.
openConnection
public URLConnection openConnection(URL u)
- Opens a connection to the object referenced by the
URL argument.
- Parameters:
u - the URL that this connects to.
- Returns:
- a
URLConnection object for the URL.