Package ch.qos.logback.core.net.ssl
Class ConfigurableSSLServerSocketFactory
- java.lang.Object
-
- javax.net.ServerSocketFactory
-
- ch.qos.logback.core.net.ssl.ConfigurableSSLServerSocketFactory
-
@Deprecated(since="2022-01-27") public class ConfigurableSSLServerSocketFactory extends javax.net.ServerSocketFactoryDeprecated.This internal logback API is not supported by AEM as a Cloud Service.AnSSLServerSocketFactorythat configures SSL parameters (those specified in {@link SSLParametersConfiguration) on each newly created socket.When any of this factory's {@code createServerSocket} methods are invoked, it calls on a delegate
SSLServerSocketFactoryto create the socket, and then sets the SSL parameters of the socket (using the provided configuration) before returning the socket to the caller.
-
-
Constructor Summary
Constructors Constructor Description ConfigurableSSLServerSocketFactory(SSLParametersConfiguration parameters, javax.net.ssl.SSLServerSocketFactory delegate)Deprecated.Creates a new factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.net.ServerSocketcreateServerSocket(int port)Deprecated.java.net.ServerSocketcreateServerSocket(int port, int backlog)Deprecated.java.net.ServerSocketcreateServerSocket(int port, int backlog, java.net.InetAddress ifAddress)Deprecated.
-
-
-
Constructor Detail
-
ConfigurableSSLServerSocketFactory
public ConfigurableSSLServerSocketFactory(SSLParametersConfiguration parameters, javax.net.ssl.SSLServerSocketFactory delegate)
Deprecated.Creates a new factory.- Parameters:
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 configuration
-
-
Method Detail
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOExceptionDeprecated.- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port, int backlog) throws java.io.IOExceptionDeprecated.- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOExceptionDeprecated.- Specified by:
createServerSocketin classjavax.net.ServerSocketFactory- Throws:
java.io.IOException
-
-