The last stream identifier must not be set by the application, but instead the
relative extraStreamIds() should be used. The lastStreamId() will only be
set for incoming GOAWAY frames by the HTTP/2 codec.
Graceful shutdown as described in the HTTP/2 spec can be accomplished by calling
#setExtraStreamIds(Integer.MAX_VALUE).
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | content()
Redeclares io. |
| public Http2GoAwayFrame | |
| public Http2GoAwayFrame | |
| public long | |
| public int | |
| public int | |
| public Http2GoAwayFrame | replace(ByteBuf content)
Redeclares io. ByteBufHolder which contains the specified content.
|
| public Http2GoAwayFrame | |
| public Http2GoAwayFrame | retain(int increment)
Redeclares io. increment.
|
| public Http2GoAwayFrame | retainedDuplicate()
Redeclares io. ByteBufHolder.
|
| public Http2GoAwayFrame | Returns: thisSets the number of IDs to reserve for the receiver to use while GOAWAY is in transit. |
| public Http2GoAwayFrame | touch()
Redeclares io. |
| public Http2GoAwayFrame | touch(Object hint)
Redeclares io. |
| content | back to summary |
|---|---|
| public ByteBuf content() Redeclares io. Optional debugging information describing cause the GOAWAY. Will not be
| |
| copy | back to summary |
|---|---|
| public Http2GoAwayFrame copy() Redeclares io. Doc from io. Creates a deep copy of this
| |
| duplicate | back to summary |
|---|---|
| public Http2GoAwayFrame duplicate() Redeclares io. Doc from io. Duplicates this
| |
| errorCode | back to summary |
|---|---|
| public long errorCode() The reason for beginning closure of the connection. Represented as an HTTP/2 error code. | |
| extraStreamIds | back to summary |
|---|---|
| public 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. | |
| lastStreamId | back to summary |
|---|---|
| public int lastStreamId() Returns the last stream identifier if set, or | |
| replace | back to summary |
|---|---|
| public Http2GoAwayFrame replace(ByteBuf content) Redeclares io. Doc from io. Returns a new
| |
| retain | back to summary |
|---|---|
| public Http2GoAwayFrame retain() Redeclares io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public Http2GoAwayFrame retain(int increment) Redeclares io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public Http2GoAwayFrame retainedDuplicate() Redeclares io. Doc from io. Duplicates this
| |
| setExtraStreamIds | back to summary |
|---|---|
| public Http2GoAwayFrame setExtraStreamIds(int extraStreamIds) Sets the number of IDs to reserve for the receiver to use while GOAWAY is in transit.
| |
| touch | back to summary |
|---|---|
| public Http2GoAwayFrame touch() Redeclares io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public Http2GoAwayFrame touch(Object hint) Redeclares io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |