Class DefaultHttp2PingFrame

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean ack()
      When true, indicates that this ping is a ping response.
      long content()
      Returns the eight byte opaque data.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String name()
      Returns the name of the HTTP/2 frame e.g.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 java.lang.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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object