sslSession.shutdown();
}
}
public void outputReady(final IOSession session) {
DefaultNHttpClientConnection conn = (DefaultNHttpClientConnection) session.getAttribute(
NHTTP_CONN);
SSLIOSession sslSession = (SSLIOSession) session.getAttribute(
SSL_SESSION);
try {
synchronized (sslSession) {
if (sslSession.isAppOutputReady()) {
conn.produceOutput(this.handler);
}
sslSession.outboundTransport();
}
} catch (IOException ex) {
this.handler.exception(conn, ex);