@Override protected String getNamePrefix() { if (isSSLEnabled()) { return "https-" + getSslImplementationShortName()+ "-nio"; } else { return "http-nio"; } } }
@Override protected void initSsl(SocketWrapper<NioChannel> socket, Http11NioProcessor processor) { if (proto.isSSLEnabled() && (proto.sslImplementation != null) && (socket.getSocket() instanceof SecureNioChannel)) { SecureNioChannel ch = (SecureNioChannel)socket.getSocket(); processor.setSslSupport( proto.sslImplementation.getSSLSupport( ch.getSslEngine().getSession())); } else { processor.setSslSupport(null); } }
@Override protected void initSsl(SocketWrapper<NioChannel> socket, Processor<NioChannel> processor) { if (proto.isSSLEnabled() && (proto.sslImplementation != null) && (socket.getSocket() instanceof SecureNioChannel)) { SecureNioChannel ch = (SecureNioChannel)socket.getSocket(); processor.setSslSupport( proto.sslImplementation.getSSLSupport( ch.getSslEngine().getSession())); } else { processor.setSslSupport(null); } }
@Override protected void initSsl(SocketWrapper<NioChannel> socket, Processor<NioChannel> processor) { if (proto.isSSLEnabled() && (proto.sslImplementation != null) && (socket.getSocket() instanceof SecureNioChannel)) { SecureNioChannel ch = (SecureNioChannel)socket.getSocket(); processor.setSslSupport( proto.sslImplementation.getSSLSupport( ch.getSslEngine().getSession())); } else { processor.setSslSupport(null); } }
if (isSSLEnabled()) { sslImplementation = new NioJSSEImplementation();
if (proto.isSSLEnabled() && (proto.sslImplementation != null) && (socket instanceof SecureNioChannel)) {