Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.net.http
Class Handler

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


Constructor Summary
Handler()
           
Handler(boolean protocolFlag)
           
 
Method Summary
protected  int getDefaultPort()
          This method returns the default port for the http or https protocol.
static void init()
           
protected  URLConnection openConnection(URL u)
           
protected  URLConnection openConnection(URL u, Proxy p)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, 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

Handler

public Handler()

Handler

public Handler(boolean protocolFlag)
Method Detail

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

getDefaultPort

protected int getDefaultPort()
This method returns the default port for the http or https protocol.

Overrides:
getDefaultPort in class URLStreamHandler
Returns:
default port for http or https

init

public static void init()

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06