if (line == null) {
return;
}
int len = line.length();
if (this.maxlen > 0 && this.buf.length() + len >= this.maxlen) {
throw new MaxHeaderLengthLimitException("Maximum header length limit exceeded");
}
this.buf.append(line.buffer(), 0, line.length());
}