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.
|
getDefault
public 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 ServerSocketFactory
IOException
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public ServerSocket createServerSocket(int port, int backLog) throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public ServerSocket createServerSocket(int port, int backLog, InetAddress ifAddress) throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public DefaultSslContextFactory getContextFactory()
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLServerSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLServerSocketFactory
public SSLServerSocketFactory getWrappedSocketFactory()
protected SSLServerSocket initSslServerSocket(SSLServerSocket sslServerSocket)
sslServerSocket
- The server socket to initialize.Copyright © 2005–2019. All rights reserved.