/* ------------------------------------------------------------ */
 public void setBufferSize(int size) {
   HttpOutputStream out = (HttpOutputStream) _httpResponse.getOutputStream();
   if (out.isWritten() || _writer != null && _writer.isWritten())
     throw new IllegalStateException("Output written");
   out.setBufferSize(size);
 }
 /* ------------------------------------------------------------ */
 void commit() throws IOException {
   if (_writer != null && _writer.isWritten()) _writer.flush();
   else _httpResponse.commit();
 }