ava.io" class="externalLink">IOException</a></pre>
<div class="block">Returns a <a href="ServletOutputStream.html" title="class in jakarta.servlet"><code>ServletOutputStream</code></a> suitable for writing binary data in the response. The servlet container does
 not encode the binary data.

 <p>
 Calling flush() on the ServletOutputStream commits the response.

 Either this method or <a href="#getWriter()"><code>getWriter()</code></a> may be called to write the body, not both, except when <a href="#reset()"