code: public void setContentLength(int len)
      {
          if (_chunking && len>=0 && getExpectContinues()==null)
              throw new IllegalStateException("Chunking");
          _realIn.setByteLimit(len);
      }
docs: Set the content length.
  Only this number of bytes can be read before EOF is returned.
  @param len length.