Http2GoAwayFrame implementation.
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | DefaultHttp2GoAwayFrame(Http2Error
non- error)null reason for the go awayEquivalent to |
| public | DefaultHttp2GoAwayFrame(long
reason for the go away errorCode)Equivalent to |
| public | DefaultHttp2GoAwayFrame(Http2Error
non- error, ByteBuf null reason for the go awaynon- content)null debug data
|
| public | DefaultHttp2GoAwayFrame(long
reason for the go away errorCode, ByteBuf non- content)null debug dataConstruct a new GOAWAY message. |
| pack-priv | DefaultHttp2GoAwayFrame(int lastStreamId, long errorCode, ByteBuf content)
Construct a new GOAWAY message. |
| errorCode | back to summary |
|---|---|
| private final long errorCode | |
| extraStreamIds | back to summary |
|---|---|
| private int extraStreamIds | |
| lastStreamId | back to summary |
|---|---|
| private final int lastStreamId | |
| DefaultHttp2GoAwayFrame | back to summary |
|---|---|
| public DefaultHttp2GoAwayFrame(Http2Error error) Equivalent to
| |
| DefaultHttp2GoAwayFrame | back to summary |
|---|---|
| public DefaultHttp2GoAwayFrame(long errorCode) Equivalent to
| |
| DefaultHttp2GoAwayFrame | back to summary |
|---|---|
public DefaultHttp2GoAwayFrame(Http2Error error, ByteBuf content)
| |
| DefaultHttp2GoAwayFrame | back to summary |
|---|---|
| public DefaultHttp2GoAwayFrame(long errorCode, ByteBuf content) Construct a new GOAWAY message.
| |
| DefaultHttp2GoAwayFrame | back to summary |
|---|---|
| pack-priv DefaultHttp2GoAwayFrame(int lastStreamId, long errorCode, ByteBuf content) Construct a new GOAWAY message.
This constructor is for internal use only. A user should not have to specify a specific last stream identifier,
but use | |
| copy | back to summary |
|---|---|
| public Http2GoAwayFrame copy() Overrides io. Implements io. Doc from io. Creates a deep copy of this
| |
| duplicate | back to summary |
|---|---|
| public Http2GoAwayFrame duplicate() Overrides io. Implements io. Doc from io. Duplicates this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides io. Doc from io. This implementation of the | |
| errorCode | back to summary |
|---|---|
| public long errorCode() Implements io. Doc from io. The reason for beginning closure of the connection. Represented as an HTTP/2 error code.
| |
| extraStreamIds | back to summary |
|---|---|
| public int extraStreamIds() Implements io. Doc from io. 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.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides io. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| lastStreamId | back to summary |
|---|---|
| public int lastStreamId() Implements io. Doc from io. Returns the last stream identifier if set, or
| |
| name | back to summary |
|---|---|
| public String name() Implements io. Doc from io. Returns the name of the HTTP/2 frame e.g. DATA, GOAWAY, etc.
| |
| replace | back to summary |
|---|---|
| public Http2GoAwayFrame replace(ByteBuf content) Overrides io. Implements io. Doc from io. Returns a new
| |
| retain | back to summary |
|---|---|
| public Http2GoAwayFrame retain() Overrides io. Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public Http2GoAwayFrame retain(int increment) Overrides io. Implements io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public Http2GoAwayFrame retainedDuplicate() Overrides io. Implements io. Doc from io. Duplicates this
| |
| setExtraStreamIds | back to summary |
|---|---|
| public Http2GoAwayFrame setExtraStreamIds(int extraStreamIds) Implements io. Doc from io. Sets the number of IDs to reserve for the receiver to use while GOAWAY is in transit.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |
| touch | back to summary |
|---|---|
| public Http2GoAwayFrame touch() Overrides io. Implements 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) Overrides io. Implements 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
| |