code: public static FullHttpResponse toFullHttpResponse(int streamId, Http2Headers http2Headers, ByteBufAllocator alloc,
                                                        boolean validateHttpHeaders)
                      throws Http2Exception {
          HttpResponseStatus status = parseStatus(http2Headers.status());
          // HTTP/2 does not define a way to carry the version or reason phrase that is included in an
          // HTTP/1.1 status line.
          FullHttpResponse msg = new DefaultFullHttpResponse(HttpVersion.HTTP_1_1, status, alloc.buffer(),
                                                             validateHttpHeaders);
          try {
              addHttp2ToHttpHeaders(streamId, http2Headers, msg, false);
          } catch (Http2Exception e) {
              msg.release();
              throw e;
          } catch (Throwable t) {
              msg.release();
              throw streamError(streamId, PROTOCOL_ERROR, t, "HTTP/2 to HTTP/1.x headers conversion error");
          }
          return msg;
      }
docs: Create a new object to contain the response data
  
  @param streamId The stream associated with the response
  @param http2Headers The initial set of HTTP/2 headers to create the response with
  @param alloc The {@link ByteBufAllocator} to use to generate the content of the message
  @param validateHttpHeaders <ul>
  <li>{@code true} to validate HTTP headers in the http-codec</li>
  <li>{@code false} not to validate HTTP headers in the http-codec</li>
  </ul>
  @return A new response object which represents headers/data
  @throws Http2Exception see {@link #addHttp2ToHttpHeaders(int, Http2Headers, FullHttpMessage, boolean)}