Package org.apache.camel.support.jsse
Class BaseSSLContextParameters.SSLServerSocketFactoryDecorator
- java.lang.Object
-
- javax.net.ServerSocketFactory
-
- javax.net.ssl.SSLServerSocketFactory
-
- org.apache.camel.support.jsse.BaseSSLContextParameters.SSLServerSocketFactoryDecorator
-
- Enclosing class:
- BaseSSLContextParameters
protected static final class BaseSSLContextParameters.SSLServerSocketFactoryDecorator extends SSLServerSocketFactory
A decorator that enables the application of configuration options to be applied to created sockets even after this factory has been created and turned over to client code.
-
-
Constructor Summary
Constructors Constructor Description SSLServerSocketFactoryDecorator(SSLServerSocketFactory sslServerSocketFactory, List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLServerSocket>> sslServerSocketConfigurers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerSocket
createServerSocket()
ServerSocket
createServerSocket(int port)
ServerSocket
createServerSocket(int port, int backlog)
ServerSocket
createServerSocket(int port, int backlog, InetAddress ifAddress)
String[]
getDefaultCipherSuites()
SSLServerSocketFactory
getDelegate()
String[]
getSupportedCipherSuites()
-
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
-
-
-
-
Constructor Detail
-
SSLServerSocketFactoryDecorator
public SSLServerSocketFactoryDecorator(SSLServerSocketFactory sslServerSocketFactory, List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLServerSocket>> sslServerSocketConfigurers)
-
-
Method Detail
-
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuites
in classSSLServerSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuites
in classSSLServerSocketFactory
-
createServerSocket
public ServerSocket createServerSocket() throws IOException
- Overrides:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
- Specified by:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog) throws IOException
- Specified by:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port) throws IOException
- Specified by:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
getDelegate
public SSLServerSocketFactory getDelegate()
-
-