public class DefaultHttp2PingFrame extends Object implements Http2PingFrame
Http2PingFrame implementation.| Constructor and Description |
|---|
DefaultHttp2PingFrame(long content) |
DefaultHttp2PingFrame(long content,
boolean ack) |
| 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(Object o) |
int |
hashCode() |
String |
name()
Returns the name of the HTTP/2 frame e.g.
|
String |
toString() |
public DefaultHttp2PingFrame(long content)
public DefaultHttp2PingFrame(long content,
boolean ack)
public boolean ack()
Http2PingFrametrue, indicates that this ping is a ping response.ack in interface Http2PingFramepublic String name()
Http2Framename in interface Http2Framepublic long content()
Http2PingFramecontent in interface Http2PingFrameCopyright © 2008–2025 The Netty Project. All rights reserved.