NettyServerSslHandlerFactory extends AbstractNettySslHandlerFactory { @Override public SslHandler createSslHandler(SocketChannel channel) { SslHandler sslHandler = getNettySslContext().newHandler(channel.alloc()); return getCustomizedSslHandler(sslHandler); } NettyServerSslHandlerFactory(TLSConfig config); @Override SslHandler createSslHandler(SocketChannel channel);  }
@Test public void testCreateSslHandler() { factory.createSslHandler(new NioSocketChannel()); }