@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, releaseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontentpublic DefaultHttp2PingFrame(io.netty.buffer.ByteBuf content)
public boolean ack()
Http2PingFrametrue, indicates that this ping is a ping response.ack in interface Http2PingFramepublic String name()
Http2Framename in interface Http2Framepublic DefaultHttp2PingFrame copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic DefaultHttp2PingFrame touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic boolean equals(Object o)
equals in class io.netty.buffer.DefaultByteBufHolderpublic int hashCode()
hashCode in class io.netty.buffer.DefaultByteBufHolderpublic String toString()
toString in class io.netty.buffer.DefaultByteBufHolderCopyright © 2008–2017 The Netty Project. All rights reserved.