public interface StompFrame extends StompHeadersSubframe, LastStompContentSubframe
StompHeadersSubframe and LastStompContentSubframe into one
frame. So it represent a complete STOMP frame.EMPTY_LAST_CONTENT| Modifier and Type | Method and Description |
|---|---|
StompFrame |
copy()
Creates a deep copy of this
ByteBufHolder. |
StompFrame |
duplicate()
Duplicates this
ByteBufHolder. |
StompFrame |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
StompFrame |
retain()
Increases the reference count by
1. |
StompFrame |
retain(int increment)
Increases the reference count by the specified
increment. |
StompFrame |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
StompFrame |
touch()
Records the current access location of this object for debugging purposes.
|
StompFrame |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
command, headerscontentrefCnt, release, releasedecoderResult, setDecoderResultStompFrame copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface LastStompContentSubframecopy in interface StompContentSubframeStompFrame duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface LastStompContentSubframeduplicate in interface StompContentSubframeStompFrame retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface LastStompContentSubframeretainedDuplicate in interface StompContentSubframeByteBuf.retainedDuplicate()StompFrame replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface LastStompContentSubframereplace in interface StompContentSubframeStompFrame retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface LastStompContentSubframeretain in interface ReferenceCountedretain in interface StompContentSubframeStompFrame retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface LastStompContentSubframeretain in interface ReferenceCountedretain in interface StompContentSubframeStompFrame touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface LastStompContentSubframetouch in interface ReferenceCountedtouch in interface StompContentSubframeStompFrame touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface LastStompContentSubframetouch in interface ReferenceCountedtouch in interface StompContentSubframeCopyright © 2008–2025 The Netty Project. All rights reserved.