public class WrapperSslServerSocketFactory
extends javax.net.ssl.SSLServerSocketFactory
Constructor and Description |
---|
WrapperSslServerSocketFactory(DefaultSslContextFactory contextFactory,
javax.net.ssl.SSLServerSocketFactory wrappedSocketFactory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.net.ServerSocket |
createServerSocket() |
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) |
DefaultSslContextFactory |
getContextFactory()
Returns the parent SSL context factory.
|
java.lang.String[] |
getDefaultCipherSuites() |
java.lang.String[] |
getSupportedCipherSuites() |
javax.net.ssl.SSLServerSocketFactory |
getWrappedSocketFactory()
Returns the wrapped SSL server socket factory.
|
protected javax.net.ssl.SSLServerSocket |
initSslServerSocket(javax.net.ssl.SSLServerSocket sslServerSocket)
Initializes the SSL server socket.
|
public WrapperSslServerSocketFactory(DefaultSslContextFactory contextFactory, javax.net.ssl.SSLServerSocketFactory wrappedSocketFactory)
contextFactory
- The parent SSL context factory.wrappedSocketFactory
- The wrapped SSL server socket factory.public java.net.ServerSocket createServerSocket() throws java.io.IOException
createServerSocket
in class javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
createServerSocket
in class javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port, int backLog) throws java.io.IOException
createServerSocket
in class javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port, int backLog, java.net.InetAddress ifAddress) throws java.io.IOException
createServerSocket
in class javax.net.ServerSocketFactory
java.io.IOException
public DefaultSslContextFactory getContextFactory()
public java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class javax.net.ssl.SSLServerSocketFactory
public java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class javax.net.ssl.SSLServerSocketFactory
public javax.net.ssl.SSLServerSocketFactory getWrappedSocketFactory()
protected javax.net.ssl.SSLServerSocket initSslServerSocket(javax.net.ssl.SSLServerSocket sslServerSocket)
sslServerSocket
- The server socket to initialize.Copyright © 2005-2024 Restlet.