java.lang.Object
java.net.URLStreamHandler
HTTPClient.https.Handler
- public class Handler
- extends java.net.URLStreamHandler
This class implements a URLStreamHandler for https URLs. With this you
can use the HTTPClient package as a replacement for the JDKs client.
To do so define the property java.protocol.handler.pkgs=HTTPClient .
- Version:
- 0.3-2 18/06/1999
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
throws HTTPClient.ProtocolNotSuppException
openConnection
public java.net.URLConnection openConnection(java.net.URL url)
throws java.io.IOException,
HTTPClient.ProtocolNotSuppException
- Description copied from class:
java.net.URLStreamHandler
- Returns a URLConnection for the passed in URL. Note that this should
not actually create the connection to the (possibly) remote host, but
rather simply return a URLConnection object. The connect() method of
URL connection is used to establish the actual connection, possibly
after the caller sets up various connection options.