- java.lang.Object
-
- io.netty5.handler.codec.http2.DefaultHttp2PingFrame
-
- All Implemented Interfaces:
Http2Frame,Http2PingFrame
@UnstableApi public class DefaultHttp2PingFrame extends Object implements Http2PingFrame
The defaultHttp2PingFrameimplementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultHttp2PingFrame(long content)DefaultHttp2PingFrame(long content, boolean ack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanack()Whentrue, indicates that this ping is a ping response.longcontent()Returns the eight byte opaque data.booleanequals(Object o)inthashCode()Stringname()Returns the name of the HTTP/2 frame e.g.StringtoString()
-
-
-
Method Detail
-
ack
public boolean ack()
Description copied from interface:Http2PingFrameWhentrue, indicates that this ping is a ping response.- Specified by:
ackin interfaceHttp2PingFrame
-
name
public String name()
Description copied from interface:Http2FrameReturns the name of the HTTP/2 frame e.g. DATA, GOAWAY, etc.- Specified by:
namein interfaceHttp2Frame
-
content
public long content()
Description copied from interface:Http2PingFrameReturns the eight byte opaque data.- Specified by:
contentin interfaceHttp2PingFrame
-
-