Class DefaultHttp2GoAwayFrame

    • Constructor Detail

      • DefaultHttp2GoAwayFrame

        public DefaultHttp2GoAwayFrame​(Http2Error error)
        Equivalent to new DefaultHttp2GoAwayFrame(error.code()).
        Parameters:
        error - non-null reason for the go away
      • DefaultHttp2GoAwayFrame

        public DefaultHttp2GoAwayFrame​(long errorCode)
        Equivalent to new DefaultHttp2GoAwayFrame(content, Unpooled.EMPTY_BUFFER).
        Parameters:
        errorCode - reason for the go away
      • DefaultHttp2GoAwayFrame

        public DefaultHttp2GoAwayFrame​(Http2Error error,
                                       io.netty5.util.Send<io.netty5.buffer.Buffer> content)
        Parameters:
        error - non-null reason for the go away
        content - non-null debug data
      • DefaultHttp2GoAwayFrame

        public DefaultHttp2GoAwayFrame​(long errorCode,
                                       io.netty5.util.Send<io.netty5.buffer.Buffer> content)
        Construct a new GOAWAY message.
        Parameters:
        errorCode - reason for the go away
        content - non-null debug data