public class WrapperSslServerSocketFactory extends SSLServerSocketFactory
| Constructor and Description |
|---|
WrapperSslServerSocketFactory(DefaultSslContextFactory contextFactory,
SSLServerSocketFactory wrappedSocketFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket() |
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createServerSocket(int port,
int backLog) |
ServerSocket |
createServerSocket(int port,
int backLog,
InetAddress ifAddress) |
DefaultSslContextFactory |
getContextFactory()
Returns the parent SSL context factory.
|
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
SSLServerSocketFactory |
getWrappedSocketFactory()
Returns the wrapped SSL server socket factory.
|
protected SSLServerSocket |
initSslServerSocket(SSLServerSocket sslServerSocket)
Initializes the SSL server socket.
|
getDefaultpublic WrapperSslServerSocketFactory(DefaultSslContextFactory contextFactory, SSLServerSocketFactory wrappedSocketFactory)
contextFactory - The parent SSL context factory.wrappedSocketFactory - The wrapped SSL server socket factory.public ServerSocket createServerSocket() throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port, int backLog) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port, int backLog, InetAddress ifAddress) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic DefaultSslContextFactory getContextFactory()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLServerSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLServerSocketFactorypublic SSLServerSocketFactory getWrappedSocketFactory()
protected SSLServerSocket initSslServerSocket(SSLServerSocket sslServerSocket)
sslServerSocket - The server socket to initialize.Copyright © 2005–2025. All rights reserved.