public class DefaultTcpNioSSLConnectionSupport extends java.lang.Object implements TcpNioConnectionSupport, org.springframework.beans.factory.InitializingBean
TcpNioConnectionSupport for SSL
NIO connections.| Constructor and Description |
|---|
DefaultTcpNioSSLConnectionSupport(TcpSSLContextSupport sslContextSupport) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
TcpNioConnection |
createNewConnection(java.nio.channels.SocketChannel socketChannel,
boolean server,
boolean lookupHost,
org.springframework.context.ApplicationEventPublisher applicationEventPublisher,
java.lang.String connectionFactoryName)
Creates a
TcpNioSSLConnection. |
public DefaultTcpNioSSLConnectionSupport(TcpSSLContextSupport sslContextSupport)
public TcpNioConnection createNewConnection(java.nio.channels.SocketChannel socketChannel, boolean server, boolean lookupHost, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, java.lang.String connectionFactoryName) throws java.lang.Exception
TcpNioSSLConnection.createNewConnection in interface TcpNioConnectionSupportsocketChannel - the SocketChannel.server - true if this connection is a server connection.lookupHost - true if hostname lookup should be performed, otherwise the connection will
be identified using the ip address.applicationEventPublisher - the publisher to which OPEN, CLOSE and EXCEPTION events will
be sent; may be null if event publishing is not required.connectionFactoryName - the name of the connection factory creating this connection; used
during event publishing, may be null, in which case "unknown" will be used.java.lang.Exceptionpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception