docs: public final ServletOutputStream getOutputStream() throws IOException {
          if (out == null) {
              OutputStream out = createOutputStream();
              this.out = out instanceof ServletOutputStream ? out : new OutputStreamAdapter(out);
          }
          else if (out instanceof PrintWriter) {
              throw new IllegalStateException("getWriter() already called.");
          }
  
          return (ServletOutputStream) out;
      }