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 ServerSocketcreateServerSocket()ServerSocketcreateServerSocket(int port)ServerSocketcreateServerSocket(int port, int backlog)ServerSocketcreateServerSocket(int port, int backlog, InetAddress ifAddress)String[]getDefaultCipherSuites()SSLServerSocketFactorygetDelegate()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:
getDefaultCipherSuitesin classSSLServerSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuitesin classSSLServerSocketFactory
-
createServerSocket
public ServerSocket createServerSocket() throws IOException
- Overrides:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog) throws IOException
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port) throws IOException
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
getDelegate
public SSLServerSocketFactory getDelegate()
-
-