weblogic.net.http
Class Handler
java.lang.Object
java.net.URLStreamHandler
weblogic.net.http.Handler
public class Handler
- extends URLStreamHandler
Open an http input stream given a URL. See the way protocol
handlers are found in java.net.URL for details.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
openConnection
protected URLConnection openConnection(URL u)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException
openConnection
protected URLConnection openConnection(URL u,
Proxy p)
throws IOException
- Overrides:
openConnection
in class URLStreamHandler
- Throws:
IOException
init
public static void init()
toExternalForm
protected String toExternalForm(URL u)
- Overriding this method from javaq.net.URLStreamHandler so that we dont
print the username:password from the part of the url.
http://[@]host[:port]/?query#ref will be printed as
http://host[:port]/?query#ref
- Overrides:
toExternalForm
in class URLStreamHandler