public DefaultHttpResponseParser( final SessionInputBuffer buffer, final LineParser parser, final HttpResponseFactory responseFactory, final HttpParams params) { super(buffer, parser, params); this.log = LogFactory.getLog(this.getClass()); Args.notNull(responseFactory, "Response factory"); this.responseFactory = responseFactory; this.lineBuf = new CharArrayBuffer(128); }
public IdentityInputStream(final SessionInputBuffer in) { this.closed = false; this.in = Args.notNull(in, "Session input buffer"); }