public interface StompContentSubframe extends ByteBufHolder, StompSubframe
StompSubframeDecoder
generates
StompContentSubframe
after StompHeadersSubframe
when the content is large or the encoding of
the content is 'chunked. If you prefer not to receive multiple StompSubframe
s for a single
StompFrame
, place StompSubframeAggregator
after StompSubframeDecoder
in the
ChannelPipeline
.限定符和类型 | 方法和说明 |
---|---|
StompContentSubframe |
copy()
Creates a deep copy of this
ByteBufHolder . |
StompContentSubframe |
duplicate()
Duplicates this
ByteBufHolder . |
StompContentSubframe |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
StompContentSubframe |
retain()
Increases the reference count by
1 . |
StompContentSubframe |
retain(int increment)
Increases the reference count by the specified
increment . |
StompContentSubframe |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
StompContentSubframe |
touch()
Records the current access location of this object for debugging purposes.
|
StompContentSubframe |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
content
refCnt, release, release
decoderResult, setDecoderResult
StompContentSubframe copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
StompContentSubframe duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
StompContentSubframe retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
ByteBuf.retainedDuplicate()
StompContentSubframe replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
StompContentSubframe retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
StompContentSubframe retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
StompContentSubframe touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 ReferenceCounted
StompContentSubframe touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 ReferenceCounted