public class SSLServerSocketReceiver extends ServerSocketReceiver implements SSLComponent
ServerSocketReceiver that supports SSL.| Modifier and Type | Field and Description |
|---|---|
private javax.net.ServerSocketFactory |
socketFactory |
private SSLConfiguration |
ssl |
DEFAULT_BACKLOGcontext| Constructor and Description |
|---|
SSLServerSocketReceiver() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.net.ServerSocketFactory |
getServerSocketFactory()
Gets the server socket factory.
|
SSLConfiguration |
getSsl()
Gets the server's SSL configuration.
|
void |
setSsl(SSLConfiguration ssl)
Gets the server's SSL configuration.
|
createServerListener, createServerRunner, getAddress, getBacklog, getInetAddress, getPort, getRunnableTask, onStop, setAddress, setBacklog, setPort, shouldStartisStarted, start, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprivate SSLConfiguration ssl
private javax.net.ServerSocketFactory socketFactory
protected javax.net.ServerSocketFactory getServerSocketFactory()
throws java.lang.Exception
Subclasses may override to provide a custom factory.
getServerSocketFactory in class ServerSocketReceiverjava.lang.Exceptionpublic SSLConfiguration getSsl()
getSsl in interface SSLComponentpublic void setSsl(SSLConfiguration ssl)
setSsl in interface SSLComponentssl - the SSL configuration to set.