public class ConfigurableSSLServerSocketFactory extends ServerSocketFactory
SSLServerSocketFactory that configures SSL parameters
(those specified in SSLParametersConfiguration on each newly
created socket.
When any of this factory's createServerSocket methods are invoked,
it calls on a delegate SSLServerSocketFactory to create the socket,
and then sets the SSL parameters of the socket (using the provided
configuration) before returning the socket to the caller.
| Constructor and Description |
|---|
ConfigurableSSLServerSocketFactory(SSLParametersConfiguration parameters,
SSLServerSocketFactory delegate)
Creates a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createServerSocket(int port,
int backlog) |
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress ifAddress) |
createServerSocket, getDefaultpublic ConfigurableSSLServerSocketFactory(SSLParametersConfiguration parameters, SSLServerSocketFactory delegate)
parameters - parameters that will be configured on each
socket created by the factorydelegate - socket factory that will be called upon to create
server sockets before configurationpublic ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port, int backlog) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionCopyright © 2005–2014 QOS.ch. All rights reserved.