code: public void resetStream()
          throws IllegalStateException
      {
          if ((_deChunker!=null && _deChunker._chunkSize>0) ||
              _realIn.getByteLimit()>0)
              throw new IllegalStateException("Unread input");
          if(log.isTraceEnabled())log.trace("resetStream()");
          in=_realIn;
          if (_deChunker!=null)
              _deChunker.resetStream();
          _chunking=false;
          _realIn.setByteLimit(-1);
      }
docs: Reset the stream.
  Turn chunking off and disable all filters.
  @exception IllegalStateException The stream cannot be reset if
  there is some unread chunked input or a content length greater
  than zero remaining.