Http2PingFrame implementation.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | ack()
Implements io. true, indicates that this ping is a ping response.
|
| public long | content()
Implements io. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public String | name()
Implements io. |
| public String |
| ack | back to summary |
|---|---|
| private final boolean ack | |
| content | back to summary |
|---|---|
| private final long content | |
| DefaultHttp2PingFrame | back to summary |
|---|---|
| public DefaultHttp2PingFrame(long content) | |
| DefaultHttp2PingFrame | back to summary |
|---|---|
| public DefaultHttp2PingFrame(long content, boolean ack) | |
| ack | back to summary |
|---|---|
| public boolean ack() Implements io. Doc from io. When
| |
| content | back to summary |
|---|---|
| public long content() Implements io. Doc from io. Returns the eight byte opaque data.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. 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
| |
| 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.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |