public void reset() { _committed.set(false); _expect = false; _expect100Continue = false; _expect102Processing = false; _request.recycle(); _response.recycle(); _uri.clear(); }
/* ------------------------------------------------------------ */ public void reset(boolean returnBuffers) { _parser.reset(); if (returnBuffers) _parser.returnBuffers(); _requestFields.clear(); _request.recycle(); _generator.reset(returnBuffers); // TODO maybe only release when low on resources _responseFields.clear(); _response.recycle(); _uri.clear(); }