iaik.protocol.https
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by iaik.protocol.https.Handler

public class Handler
extends java.net.URLStreamHandler

This class implements an URLStreamHandler for HTTPS URLs. In most cases application need not directly access this class, see the separate iSaSiLk HTTPS documentation for more information.

See Also:
HttpsURLConnection, HttpsURLStreamHandlerFactory

Constructor Summary
Handler()
          Default constructor.
 
Method Summary
protected  int getDefaultPort()
          Returns the default port (443) for HTTPS urls.
protected  java.net.URLConnection openConnection(java.net.URL u)
          Java API method, not for use by applications
protected  java.net.URLConnection openConnection(java.net.URL u, java.net.Proxy p)
          Java API method, not for use by applications
protected  void parseURL(java.net.URL u, java.lang.String spec, int start, int limit)
          Java API method, not for use by applications
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, 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()
Default constructor.

Method Detail

openConnection

protected java.net.URLConnection openConnection(java.net.URL u)
                                         throws java.io.IOException
Java API method, not for use by applications

Specified by:
openConnection in class java.net.URLStreamHandler
Throws:
java.io.IOException

openConnection

protected java.net.URLConnection openConnection(java.net.URL u,
                                                java.net.Proxy p)
                                         throws java.io.IOException
Java API method, not for use by applications

Overrides:
openConnection in class java.net.URLStreamHandler
Throws:
java.io.IOException
Since:
1.5

parseURL

protected void parseURL(java.net.URL u,
                        java.lang.String spec,
                        int start,
                        int limit)
Java API method, not for use by applications

Overrides:
parseURL in class java.net.URLStreamHandler

getDefaultPort

protected int getDefaultPort()
Returns the default port (443) for HTTPS urls.

Overrides:
getDefaultPort in class java.net.URLStreamHandler
Returns:
443

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