BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.net.http
Class Handler

java.lang.Object
  extended byjava.net.URLStreamHandler
      extended byweblogic.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.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
Handler()
           
 
Method Summary
static void init()
           
protected  URLConnection openConnection(URL u)
           
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.
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handler

public Handler()
Method Detail

init

public static void init()

openConnection

protected URLConnection openConnection(URL u)
                                throws IOException
Throws:
IOException

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


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.