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.
| Modifier and Type | Field and Description |
|---|---|
| private final SSLServerSocketFactory | |
| private final SSLParametersConfiguration |
| Access | Constructor and Description |
|---|---|
| public | ConfigurableSSLServerSocketFactory(SSLParametersConfiguration
parameters that will be configured on each socket created
by the factory parameters, SSLServerSocketFactory socket factory that will be called upon to create server
sockets before configuration delegate)Creates a new factory. |
| Modifier and Type | Method and Description |
|---|---|
| public ServerSocket | createServerSocket(int
the port to listen to port, int how many connections are queued backlog, InetAddress the network interface address to use ifAddress)Implements abstract javax. |
| public ServerSocket | createServerSocket(int
the port to listen to port, int how many connections are queued backlog)Implements abstract javax. |
| public ServerSocket | createServerSocket(int
the port to listen to port)Implements abstract javax. |
| delegate | back to summary |
|---|---|
| private final SSLServerSocketFactory delegate | |
| parameters | back to summary |
|---|---|
| private final SSLParametersConfiguration parameters | |
| ConfigurableSSLServerSocketFactory | back to summary |
|---|---|
| public ConfigurableSSLServerSocketFactory(SSLParametersConfiguration parameters, SSLServerSocketFactory delegate) Creates a new factory.
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port, with a specified listen backlog and local IP.
The
The
If there is a security manager, its
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, int backlog) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.
The
If there is a security manager, its
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port. The socket is configured with the socket options (such as accept timeout) given to this factory.
If there is a security manager, its
| |