FileDocCategorySizeDatePackage
HttpsURLStreamHandlerFactory.javaAPI DocGlassfish v2 API2813Fri May 04 22:36:20 BST 2007com.sun.web.server

HttpsURLStreamHandlerFactory

public final class HttpsURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
URL handler for https.
author
Harish Prabandham
author
Vivek Nagar

Fields Summary
Constructors Summary
public HttpsURLStreamHandlerFactory()

    
Methods Summary
public java.net.URLStreamHandlercreateURLStreamHandler(java.lang.String protocol)
Create the URL stream handler for the specified HTTPS protocol.

param
the protocol.
return
the URLStreamHandler.

        // return null for https so that it can use default or be configured
        // from env
	if(protocol.equalsIgnoreCase("jndi")) {
	    return (URLStreamHandler) new DirContextURLStreamHandler();
        } else
            return null;