Class DelegatingSSLSocketFactory


  • public class DelegatingSSLSocketFactory
    extends javax.net.ssl.SSLSocketFactory
    A SSLSocketFactory that delegates calls. Sockets can be configured after creation by overriding configureSocket(javax.net.ssl.SSLSocket).
    • Constructor Summary

      Constructors 
      Constructor Description
      DelegatingSSLSocketFactory​(javax.net.ssl.SSLSocketFactory delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.net.ssl.SSLSocket createSocket()  
      javax.net.ssl.SSLSocket createSocket​(java.lang.String host, int port)  
      javax.net.ssl.SSLSocket createSocket​(java.lang.String host, int port, java.net.InetAddress localAddress, int localPort)  
      javax.net.ssl.SSLSocket createSocket​(java.net.InetAddress host, int port)  
      javax.net.ssl.SSLSocket createSocket​(java.net.InetAddress host, int port, java.net.InetAddress localAddress, int localPort)  
      javax.net.ssl.SSLSocket createSocket​(java.net.Socket socket, java.lang.String host, int port, boolean autoClose)  
      java.lang.String[] getDefaultCipherSuites()  
      java.lang.String[] getSupportedCipherSuites()  
      • Methods inherited from class javax.net.ssl.SSLSocketFactory

        createSocket, getDefault
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelegatingSSLSocketFactory

        public DelegatingSSLSocketFactory​(javax.net.ssl.SSLSocketFactory delegate)
    • Method Detail

      • createSocket

        public javax.net.ssl.SSLSocket createSocket()
                                             throws java.io.IOException
        Overrides:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public javax.net.ssl.SSLSocket createSocket​(java.lang.String host,
                                                    int port)
                                             throws java.io.IOException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public javax.net.ssl.SSLSocket createSocket​(java.lang.String host,
                                                    int port,
                                                    java.net.InetAddress localAddress,
                                                    int localPort)
                                             throws java.io.IOException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public javax.net.ssl.SSLSocket createSocket​(java.net.InetAddress host,
                                                    int port)
                                             throws java.io.IOException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public javax.net.ssl.SSLSocket createSocket​(java.net.InetAddress host,
                                                    int port,
                                                    java.net.InetAddress localAddress,
                                                    int localPort)
                                             throws java.io.IOException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • getDefaultCipherSuites

        public java.lang.String[] getDefaultCipherSuites()
        Specified by:
        getDefaultCipherSuites in class javax.net.ssl.SSLSocketFactory
      • getSupportedCipherSuites

        public java.lang.String[] getSupportedCipherSuites()
        Specified by:
        getSupportedCipherSuites in class javax.net.ssl.SSLSocketFactory
      • createSocket

        public javax.net.ssl.SSLSocket createSocket​(java.net.Socket socket,
                                                    java.lang.String host,
                                                    int port,
                                                    boolean autoClose)
                                             throws java.io.IOException
        Specified by:
        createSocket in class javax.net.ssl.SSLSocketFactory
        Throws:
        java.io.IOException