public final class SSLServerSocketFactoryImpl
extends javax.net.ssl.SSLServerSocketFactory
| Constructor and Description |
|---|
SSLServerSocketFactoryImpl()
Constructor used to instantiate the default factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.ServerSocket |
createServerSocket()
Returns an unbound server socket.
|
java.net.ServerSocket |
createServerSocket(int port) |
java.net.ServerSocket |
createServerSocket(int port,
int backlog) |
java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress) |
java.lang.String[] |
getDefaultCipherSuites()
Returns the subset of the supported cipher suites which are
enabled by default.
|
java.lang.String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
public SSLServerSocketFactoryImpl()
throws java.lang.Exception
java.lang.Exception - errorpublic java.net.ServerSocket createServerSocket()
throws java.io.IOException
createServerSocket in class javax.net.ServerSocketFactoryjava.io.IOException - if the socket cannot be createdSocket.bind(java.net.SocketAddress)public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
createServerSocket in class javax.net.ServerSocketFactoryjava.io.IOExceptionpublic java.net.ServerSocket createServerSocket(int port,
int backlog)
throws java.io.IOException
createServerSocket in class javax.net.ServerSocketFactoryjava.io.IOExceptionpublic java.net.ServerSocket createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
throws java.io.IOException
createServerSocket in class javax.net.ServerSocketFactoryjava.io.IOExceptionpublic java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites in class javax.net.ssl.SSLServerSocketFactorypublic java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites in class javax.net.ssl.SSLServerSocketFactory