Пример #1
0
 @Override
 public void setConnection(Connection connection) {
   if (connection instanceof AbstractConnection) {
     AbstractConnection a = (AbstractConnection) connection;
     if (a.getInputBufferSize() < _sslEngine.getSession().getApplicationBufferSize())
       a.setInputBufferSize(_sslEngine.getSession().getApplicationBufferSize());
   }
   super.setConnection(connection);
 }
Пример #2
0
 @Override
 public void setIdleTimeout(long idleTimeout) {
   super.setIdleTimeout(idleTimeout);
   getEndPoint().setIdleTimeout(idleTimeout);
 }