Module io.netty.codec.http2
Package io.netty5.handler.codec.http2

Class DefaultHttp2PingFrame

    • Constructor Detail

      • DefaultHttp2PingFrame

        public DefaultHttp2PingFrame​(long content)
      • DefaultHttp2PingFrame

        public DefaultHttp2PingFrame​(long content,
         boolean ack)
    • Method Detail

      • ack

        public boolean ack()
        Description copied from interface: Http2PingFrame
        When true, indicates that this ping is a ping response.
        Specified by:
        ack in interface Http2PingFrame
      • name

        public String name()
        Description copied from interface: Http2Frame
        Returns the name of the HTTP/2 frame e.g. DATA, GOAWAY, etc.
        Specified by:
        name in interface Http2Frame