Interface Http2GoAwayFrame

    • Method Detail

      • errorCode

        long errorCode()
        The reason for beginning closure of the connection. Represented as an HTTP/2 error code.
      • extraStreamIds

        int extraStreamIds()
        The number of IDs to reserve for the receiver to use while GOAWAY is in transit. This allows for new streams currently en route to still be created, up to a point, which allows for very graceful shutdown of both sides.
      • setExtraStreamIds

        Http2GoAwayFrame setExtraStreamIds​(int extraStreamIds)
        Sets the number of IDs to reserve for the receiver to use while GOAWAY is in transit.
        Returns:
        this
        See Also:
        extraStreamIds()
      • lastStreamId

        int lastStreamId()
        Returns the last stream identifier if set, or -1 else.
      • content

        Buffer content()
        Optional debugging information describing cause the GOAWAY. Will not be null, but may be empty.
      • copy

        Http2GoAwayFrame copy()
        Produce a copy of this GOAWAY frame, which contain a copy of the frame contents.
        Returns:
        A copy of this GOAWAY frame.