Class HttpsURLStreamHandlerFactory

  extended by iaik.protocol.https.HttpsURLStreamHandlerFactory
All Implemented Interfaces:

public class HttpsURLStreamHandlerFactory
extends java.lang.Object
implements java.net.URLStreamHandlerFactory

The class HttpsURLStreamHandlerFactory implements an URLStreamHandlerFactory for HTTPS URLs. It can be registered with the java.net APIs via

   URL.setURLStreamHandlerFactory(new HttpsURLStreamHandlerFactory());
The setURLStreamHandlerFactory() call can be executed only once per Java VM invocation. In order to allow you to use additional custom protocols this factory class allows you to register them with it. Other methods for registering HTTPS URLs are described in the companion document.

Note that there is a separate document describing the use of HTTPS with iSaSiLk in more detail, it is called https.html and provided in your iSaSiLk installation directory.

See Also:
HttpsURLConnection, Handler

Constructor Summary
          Create a new HttpsURLStreamHandlerFactory().
Method Summary
 void addHandler(java.lang.String protocol, java.net.URLStreamHandler handler)
          Add an additional URLStreamHandler.
 java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
          Return a URLStreamHandler for the given protocol or null.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public HttpsURLStreamHandlerFactory()
Create a new HttpsURLStreamHandlerFactory().

Method Detail


public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
Return a URLStreamHandler for the given protocol or null. Method from the URLStreamHandlerFactory interface, normally not used by applications.

Specified by:
createURLStreamHandler in interface java.net.URLStreamHandlerFactory


public void addHandler(java.lang.String protocol,
                       java.net.URLStreamHandler handler)
Add an additional URLStreamHandler.

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 5.104, (c) 2002 IAIK, (c) 2003 - 2015 SIC