Class DefaultHttp2PingFrame
java.lang.Object
io.netty.handler.codec.http2.DefaultHttp2PingFrame
- All Implemented Interfaces:
Http2Frame, Http2PingFrame
The default
Http2PingFrame implementation.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultHttp2PingFrame(long content) DefaultHttp2PingFrame(long content, boolean ack) -
Method Summary
-
Constructor Details
-
DefaultHttp2PingFrame
public DefaultHttp2PingFrame(long content) -
DefaultHttp2PingFrame
public DefaultHttp2PingFrame(long content, boolean ack)
-
-
Method Details
-
ack
public boolean ack()Description copied from interface:Http2PingFrameWhentrue, indicates that this ping is a ping response.- Specified by:
ackin interfaceHttp2PingFrame
-
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
-
equals
-
hashCode
-
toString
-