Lines Matching refs:linebuffer
60 private ByteArrayBuffer linebuffer = null;
82 this.linebuffer = new ByteArrayBuffer(buffersize);
168 this.linebuffer.clear();
176 if (this.linebuffer.isEmpty()) {
182 this.linebuffer.append(this.buffer, this.bufferpos, len);
188 this.linebuffer.append(this.buffer, this.bufferpos, len);
196 if (this.maxLineLen > 0 && this.linebuffer.length() >= this.maxLineLen) {
200 if (noRead == -1 && this.linebuffer.isEmpty()) {
210 int l = this.linebuffer.length();
212 if (this.linebuffer.byteAt(l - 1) == HTTP.LF) {
214 this.linebuffer.setLength(l);
218 if (this.linebuffer.byteAt(l - 1) == HTTP.CR) {
220 this.linebuffer.setLength(l);
224 l = this.linebuffer.length();
226 charbuffer.append(this.linebuffer, 0, l);
230 String s = new String(this.linebuffer.buffer(), 0, l, this.charset);