public interface ByteBufHolder
extends io.netty.util.ReferenceCounted
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
Return the data which is held by this
ByteBufHolder. |
ByteBufHolder |
copy()
Create a deep copy of this
ByteBufHolder. |
ByteBufHolder |
duplicate()
Duplicate the
ByteBufHolder. |
ByteBufHolder |
retain() |
ByteBufHolder |
retain(int increment) |
ByteBufHolder |
touch() |
ByteBufHolder |
touch(Object hint) |
ByteBuf content()
ByteBufHolder.ByteBufHolder copy()
ByteBufHolder.ByteBufHolder duplicate()
ByteBufHolder. Be aware that this will not automatically call retain().ByteBufHolder retain()
retain in interface io.netty.util.ReferenceCountedByteBufHolder retain(int increment)
retain in interface io.netty.util.ReferenceCountedByteBufHolder touch()
touch in interface io.netty.util.ReferenceCountedByteBufHolder touch(Object hint)
touch in interface io.netty.util.ReferenceCountedCopyright © 2008–2016 The Netty Project. All rights reserved.