private void handleSslData(NextFilter nextFilter, SslHandler sslHandler) throws SSLException { if (LOGGER.isDebugEnabled()) { LOGGER.debug("{}: Processing the SSL Data ", getSessionInfo(sslHandler.getSession())); } // Flush any buffered write requests occurred before handshaking. if (sslHandler.isHandshakeComplete()) { sslHandler.flushPreHandshakeEvents(); } // Write encrypted data to be written (if any) sslHandler.writeNetBuffer(nextFilter); // handle app. data read (if any) handleAppDataRead(nextFilter, sslHandler); }
private void handleSslData(NextFilter nextFilter, SslHandler sslHandler) throws SSLException { if (LOGGER.isDebugEnabled()) { LOGGER.debug("{}: Processing the SSL Data ", getSessionInfo(sslHandler.getSession())); } // Flush any buffered write requests occurred before handshaking. if (sslHandler.isHandshakeComplete()) { sslHandler.flushPreHandshakeEvents(); } // Write encrypted data to be written (if any) sslHandler.writeNetBuffer(nextFilter); // handle app. data read (if any) handleAppDataRead(nextFilter, sslHandler); }