Package ch.qos.logback.core.net.ssl
Class ConfigurableSSLSocketFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- ch.qos.logback.core.net.ssl.ConfigurableSSLSocketFactory
-
@Deprecated(since="2022-01-27") public class ConfigurableSSLSocketFactory extends javax.net.SocketFactory
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.AnSSLSocketFactory
that configures SSL parameters (those covered bySSLParameters
) on each newly created socket.When any of this factory's
createSocket
methods are invoked, it calls on aSSLSocketFactory
delegate 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 Summary
Constructors Constructor Description ConfigurableSSLSocketFactory(SSLParametersConfiguration parameters, javax.net.ssl.SSLSocketFactory delegate)
Deprecated.Creates a new factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.net.Socket
createSocket(java.lang.String host, int port)
Deprecated.java.net.Socket
createSocket(java.lang.String host, int port, java.net.InetAddress localHost, int localPort)
Deprecated.java.net.Socket
createSocket(java.net.InetAddress host, int port)
Deprecated.java.net.Socket
createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort)
Deprecated.
-
-
-
Constructor Detail
-
ConfigurableSSLSocketFactory
public ConfigurableSSLSocketFactory(SSLParametersConfiguration parameters, javax.net.ssl.SSLSocketFactory 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 sockets before configuration
-
-
Method Detail
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort) throws java.io.IOException
Deprecated.- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress host, int port) throws java.io.IOException
Deprecated.- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress localHost, int localPort) throws java.io.IOException, java.net.UnknownHostException
Deprecated.- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
-
createSocket
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostException
Deprecated.- Specified by:
createSocket
in classjavax.net.SocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
-
-