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()
Http2PingFrame
true
, indicates that this ping is a ping response.ack
in interface Http2PingFrame
public String name()
Http2Frame
name
in interface Http2Frame
public long content()
Http2PingFrame
content
in interface Http2PingFrame
Copyright © 2008–2024 The Netty Project. All rights reserved.