se body content is written; if content has been written or the response
 object has been committed, this method throws an <code>IllegalStateException</code>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>size</code> - the preferred buffer size</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if this method is cal