ice.net
Class HttpURLStreamHandler

java.lang.Object
  extended byjava.net.URLStreamHandler
      extended byice.net.HttpURLStreamHandler

public class HttpURLStreamHandler
extends URLStreamHandler


Constructor Summary
HttpURLStreamHandler()
           
 
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.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpURLStreamHandler

public HttpURLStreamHandler()
Method Detail

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.