/** * Make the filter ready to process the next request. */ @Override public void recycle() { contentLength = -1; remaining = 0; endChunk.recycle(); }
/** * Make the filter ready to process the next request. */ public void recycle() { contentLength = -1; remaining = 0; endChunk.recycle(); }
/** * Make the filter ready to process the next request. */ public void recycle() { contentLength = -1; remaining = 0; endChunk.recycle(); }
/** * Make the filter ready to process the next request. */ @Override public void recycle() { remaining = 0; pos = 0; lastValid = 0; endChunk = false; trailingHeaders.recycle(); }
/** * Make the filter ready to process the next request. */ @Override public void recycle() { contentLength = -1; remaining = 0; endChunk.recycle(); }
/** * Make the filter ready to process the next request. */ @Override public void recycle() { contentLength = -1; remaining = 0; endChunk.recycle(); }
public void reset() { bb.recycle(); bytesWritten = 0; charsWritten = 0; gotEnc = false; enc = null; initial = true; }
/** * Make the filter ready to process the next request. */ public void recycle() { remaining = 0; pos = 0; lastValid = 0; endChunk = false; trailingHeaders.recycle(); }
/** * Make the filter ready to process the next request. */ @Override public void recycle() { remaining = 0; pos = 0; lastValid = 0; endChunk = false; trailingHeaders.recycle(); }
public void reset() { //count=0; bb.recycle(); bytesWritten = 0; cb.recycle(); charsWritten = 0; gotEnc = false; enc = null; state = INITIAL_STATE; }
public void reset() { bb.recycle(); cb.recycle(); bytesWritten = 0; charsWritten = 0; gotEnc = false; enc = null; initial = true; }
/** * Resets the message bytes to an uninitialized (NULL) state. */ public void recycle() { type=T_NULL; byteC.recycle(); charC.recycle(); strValue=null; hasStrValue=false; hasHashCode=false; hasLongValue=false; }
/** * End processing of current HTTP request. * Note: All bytes of the current request should have been already * consumed. This method only resets all the pointers so that we are ready * to parse the next HTTP request. */ @Override public void nextRequest() { super.nextRequest(); socketBuffer.recycle(); }
/** Reset the internal state, empty the buffers. * The encoding remain in effect, the internal buffers remain allocated. */ public final void recycle() { conv.recycle(); bb.recycle(); }
public void reset() { //count=0; bb.recycle(); bytesWritten = 0; cb.recycle(); charsWritten = 0; gotEnc = false; enc = null; state = INITIAL_STATE; }
/** * Recycle the output buffer. This should be called when closing the * connection. */ @Override public void recycle() { super.recycle(); socketBuffer.recycle(); outputStream = null; }
/** * Resets the message bytes to an uninitialized (NULL) state. */ public void recycle() { type=T_NULL; byteC.recycle(); charC.recycle(); strValue=null; hasStrValue=false; hasHashCode=false; hasLongValue=false; }
public void reset(boolean resetWriterStreamFlags) { bb.recycle(); cb.recycle(); bytesWritten = 0; charsWritten = 0; if (resetWriterStreamFlags) { gotEnc = false; enc = null; } initial = true; }