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
.Modifier and Type | Method and Description |
---|---|
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(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
in interface ByteBufHolder
StompContentSubframe duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
StompContentSubframe retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
in interface ByteBufHolder
ByteBuf.retainedDuplicate()
StompContentSubframe replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
in interface ByteBufHolder
StompContentSubframe retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
StompContentSubframe retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
StompContentSubframe touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
StompContentSubframe touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
Copyright © 2008–2024 The Netty Project. All rights reserved.