code: public void setMaxReadBufferSize(int maxReadBufferSize) {
          if (maxReadBufferSize <= 0) {
              throw new IllegalArgumentException("maxReadBufferSize: " + maxReadBufferSize + " (expected: 1+)");
          }
  
          if (maxReadBufferSize < minReadBufferSize) {
              throw new IllegalArgumentException("maxReadBufferSize: " + maxReadBufferSize + " (expected: greater than " + minReadBufferSize + ')');
  
          }
          this.maxReadBufferSize = maxReadBufferSize;
      }
docs: {@inheritDoc}