@UnstableApi public class DefaultHttp2PingFrame extends java.lang.Object implements Http2PingFrame
Http2PingFrame
implementation.构造器和说明 |
---|
DefaultHttp2PingFrame(long content) |
DefaultHttp2PingFrame(long content,
boolean ack) |
限定符和类型 | 方法和说明 |
---|---|
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() |
public DefaultHttp2PingFrame(long content)
public DefaultHttp2PingFrame(long content, boolean ack)
public boolean ack()
Http2PingFrame
true
, indicates that this ping is a ping response.ack
在接口中 Http2PingFrame
public java.lang.String name()
Http2Frame
name
在接口中 Http2Frame
public long content()
Http2PingFrame
content
在接口中 Http2PingFrame
public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object