public final class SSLServerSocketFactoryImpl extends SSLServerSocketFactory
| 限定符和类型 | 字段和说明 |
|---|---|
private SSLContextImpl |
context |
private static int |
DEFAULT_BACKLOG |
| 构造器和说明 |
|---|
SSLServerSocketFactoryImpl()
Constructor used to instantiate the default factory.
|
SSLServerSocketFactoryImpl(SSLContextImpl context)
Called from SSLContextImpl's getSSLServerSocketFactory().
|
| 限定符和类型 | 方法和说明 |
|---|---|
ServerSocket |
createServerSocket()
Returns an unbound server socket.
|
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createServerSocket(int port,
int backlog) |
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress ifAddress) |
String[] |
getDefaultCipherSuites()
Returns the subset of the supported cipher suites which are
enabled by default.
|
String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
getDefaultprivate static final int DEFAULT_BACKLOG
private final SSLContextImpl context
public SSLServerSocketFactoryImpl()
throws Exception
ExceptionSSLServerSocketFactoryImpl(SSLContextImpl context)
public ServerSocket createServerSocket() throws IOException
createServerSocket 在类中 ServerSocketFactoryIOException - if the socket cannot be createdSocket.bind(java.net.SocketAddress)public ServerSocket createServerSocket(int port) throws IOException
createServerSocket 在类中 ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port, int backlog) throws IOException
createServerSocket 在类中 ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
createServerSocket 在类中 ServerSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
public String[] getSupportedCipherSuites()
getSupportedCipherSuites 在类中 SSLServerSocketFactoryCopyright © 2023. All rights reserved.