@UnstableApi public class DefaultHttp2PingFrame extends java.lang.Object implements Http2PingFrame
Http2PingFrame implementation.| Constructor and Description |
|---|
DefaultHttp2PingFrame(long content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ack()
When
true, indicates that this ping is a ping response. |
long |
content()
Returns the eight byte opaque data.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
name()
Returns the name of the HTTP/2 frame e.g.
|
java.lang.String |
toString() |
public boolean ack()
Http2PingFrametrue, indicates that this ping is a ping response.ack in interface Http2PingFramepublic java.lang.String name()
Http2Framename in interface Http2Framepublic long content()
Http2PingFramecontent in interface Http2PingFramepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2019 The Netty Project. All rights reserved.