code: public String print() throws IOException {
          final ByteArrayOutputStream baos = new ByteArrayOutputStream();
          this.print(baos);
          return new Utf8String(baos.toByteArray()).asString();
      }
docs: Print it into string.
  @return Entire HTTP response
  @throws IOException If fails