code: 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);
      }
docs: /* ------------------------------------------------------------