Buffer content=_content; if (content!=null&&content.length()>0) { flush(); if (content!=null&&content.length()>0) throw new IllegalStateException("FULL");
Buffer content = _content; if(content != null && content.length() > 0) { flush(); if(content != null && content.length() > 0) throw new IllegalStateException("FULL"); }   initContent();  _contentWritten -= _buffer.length();   if(_head) return Integer.MAX_VALUE;  return _buffer.space() - 1;
    protected int prepareUncheckedAddContent() throws IOException    {        if (_noContent)            return -1;        if (_last||_state==STATE_END)            throw new IllegalStateException("Closed");        // Handle any unfinished business?        Buffer content=_content;        if (content!=null&&content.length()>0)        {            flush();            if (content!=null&&content.length()>0)                throw new IllegalStateException("FULL");        }        // we better check we have a buffer        initContent();        _contentWritten-=_buffer.length();        // Handle the _content        if (_head)            return Integer.MAX_VALUE;        return _buffer.space()-1;    }