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 StompSubframes 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.
|
contentrefCnt, release, releasedecoderResult, setDecoderResultStompContentSubframe copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderStompContentSubframe duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderStompContentSubframe retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderByteBuf.retainedDuplicate()StompContentSubframe replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderStompContentSubframe retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedStompContentSubframe retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedStompContentSubframe touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedStompContentSubframe touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedCopyright © 2008–2025 The Netty Project. All rights reserved.