|Constructor and Description|
|Modifier and Type||Method and Description|
without no-op, in favor of just constructor initialization
Subclasses can post-process the ssl engine (set properties).
public DefaultTcpNioSSLConnectionSupport(TcpSSLContextSupport sslContextSupport)
public TcpNioConnection createNewConnection(SocketChannel socketChannel, boolean server, boolean lookupHost, ApplicationEventPublisher applicationEventPublisher, String connectionFactoryName) throws Exception
socketChannel- 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.
Exception- Any exception.
@Deprecated public void afterPropertiesSet() throws Exception
Exception- an exception
protected void postProcessSSLEngine(SSLEngine sslEngine)
sslEngine- the engine.