public interface BufferHolder
Buffer
.Modifier and Type | Method and Description |
---|---|
Buffer |
content()
The buffer contained by this object.
|
BufferHolder |
duplicate()
Duplicates this
BufferHolder . |
BufferHolder |
replace(Buffer content)
Returns a new
BufferHolder which contains the specified content . |
Buffer content()
BufferHolder duplicate()
BufferHolder
.BufferHolder
.BufferHolder replace(Buffer content)
BufferHolder
which contains the specified content
.content
- The Buffer
to replace what is currently returned by content()
.BufferHolder
which contains the specified content
.