@UnstableApi public class DefaultHttp2PingFrame extends io.netty.buffer.DefaultByteBufHolder implements Http2PingFrame
Http2PingFrame
implementation.Constructor and Description |
---|
DefaultHttp2PingFrame(io.netty.buffer.ByteBuf content) |
Modifier and Type | Method and Description |
---|---|
boolean |
ack()
When
true , indicates that this ping is a ping response. |
DefaultHttp2PingFrame |
copy() |
DefaultHttp2PingFrame |
duplicate() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the name of the HTTP/2 frame e.g.
|
DefaultHttp2PingFrame |
replace(io.netty.buffer.ByteBuf content) |
DefaultHttp2PingFrame |
retain() |
DefaultHttp2PingFrame |
retain(int increment) |
DefaultHttp2PingFrame |
retainedDuplicate() |
String |
toString() |
DefaultHttp2PingFrame |
touch() |
DefaultHttp2PingFrame |
touch(Object hint) |
content, contentToString, refCnt, release, release
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
content
public DefaultHttp2PingFrame(io.netty.buffer.ByteBuf content)
public boolean ack()
Http2PingFrame
true
, indicates that this ping is a ping response.ack
in interface Http2PingFrame
public String name()
Http2Frame
name
in interface Http2Frame
public DefaultHttp2PingFrame copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
retain
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
retain
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
touch
in class io.netty.buffer.DefaultByteBufHolder
public DefaultHttp2PingFrame touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
touch
in class io.netty.buffer.DefaultByteBufHolder
public boolean equals(Object o)
equals
in class io.netty.buffer.DefaultByteBufHolder
public int hashCode()
hashCode
in class io.netty.buffer.DefaultByteBufHolder
public String toString()
toString
in class io.netty.buffer.DefaultByteBufHolder
Copyright © 2008–2017 The Netty Project. All rights reserved.