Class DefaultHttp2HeadersFrame

    • Constructor Detail

      • DefaultHttp2HeadersFrame

        public DefaultHttp2HeadersFrame​(Http2Headers headers)
        Equivalent to new DefaultHttp2HeadersFrame(headers, false).
        Parameters:
        headers - the non-null headers to send
      • DefaultHttp2HeadersFrame

        public DefaultHttp2HeadersFrame​(Http2Headers headers,
                                        boolean endStream)
        Equivalent to new DefaultHttp2HeadersFrame(headers, endStream, 0).
        Parameters:
        headers - the non-null headers to send
      • DefaultHttp2HeadersFrame

        public DefaultHttp2HeadersFrame​(Http2Headers headers,
                                        boolean endStream,
                                        int padding)
        Construct a new headers message.
        Parameters:
        headers - the non-null headers to send
        endStream - whether these headers should terminate the stream
        padding - additional bytes that should be added to obscure the true content size. Must be between 0 and 256 (inclusive).