Class JSSESocketFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      JSSESocketFactory​(java.util.Hashtable attributes)
      Constructor JSSESocketFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket create​(java.lang.String host, int port, java.lang.StringBuffer otherHeaders, BooleanHolder useFullURL)
      creates a secure socket
      protected void initFactory()
      Initialize the SSLSocketFactory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sslFactory

        protected javax.net.ssl.SSLSocketFactory sslFactory
        Field sslFactory
    • Constructor Detail

      • JSSESocketFactory

        public JSSESocketFactory​(java.util.Hashtable attributes)
        Constructor JSSESocketFactory
        Parameters:
        attributes -
    • Method Detail

      • initFactory

        protected void initFactory()
                            throws java.io.IOException
        Initialize the SSLSocketFactory
        Throws:
        java.io.IOException
      • create

        public java.net.Socket create​(java.lang.String host,
                                      int port,
                                      java.lang.StringBuffer otherHeaders,
                                      BooleanHolder useFullURL)
                               throws java.lang.Exception
        creates a secure socket
        Specified by:
        create in interface SocketFactory
        Overrides:
        create in class DefaultSocketFactory
        Parameters:
        host -
        port -
        otherHeaders -
        useFullURL -
        Returns:
        Socket
        Throws:
        java.lang.Exception