Package io.servicetalk.buffer.api
Interface BufferHolder
Deprecated.
This API is going to be removed in future releases with no planned replacement. If it cannot be
removed from your application, consider copying it into your codebase.
An object which contains a
Buffer.-
Method Summary
Modifier and TypeMethodDescriptioncontent()Deprecated.The buffer contained by this object.Deprecated.Duplicates thisBufferHolder.Deprecated.Returns a newBufferHolderwhich contains the specifiedcontent.
-
Method Details
-
content
Buffer content()Deprecated.The buffer contained by this object.- Returns:
- The buffer contained by this object.
-
duplicate
BufferHolder duplicate()Deprecated.Duplicates thisBufferHolder.- Returns:
- Duplicates this
BufferHolder.
-
replace
Deprecated.Returns a newBufferHolderwhich contains the specifiedcontent.- Parameters:
content- TheBufferto replace what is currently returned bycontent().- Returns:
- a new
BufferHolderwhich contains the specifiedcontent.
-