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.SocketFactoryDeprecated.This internal logback API is not supported by AEM as a Cloud Service.AnSSLSocketFactorythat configures SSL parameters (those covered bySSLParameters) on each newly created socket.When any of this factory's
createSocketmethods are invoked, it calls on aSSLSocketFactorydelegate 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.SocketcreateSocket(java.lang.String host, int port)Deprecated.java.net.SocketcreateSocket(java.lang.String host, int port, java.net.InetAddress localHost, int localPort)Deprecated.java.net.SocketcreateSocket(java.net.InetAddress host, int port)Deprecated.java.net.SocketcreateSocket(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.IOExceptionDeprecated.- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress host, int port) throws java.io.IOExceptionDeprecated.- Specified by:
createSocketin 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.UnknownHostExceptionDeprecated.- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOExceptionjava.net.UnknownHostException
-
createSocket
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostExceptionDeprecated.- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOExceptionjava.net.UnknownHostException
-
-