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, headers
content
refCnt, release, release
decoderResult, setDecoderResult
StompFrame copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface LastStompContentSubframe
copy
in interface StompContentSubframe
StompFrame duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface LastStompContentSubframe
duplicate
in interface StompContentSubframe
StompFrame retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
in interface ByteBufHolder
retainedDuplicate
in interface LastStompContentSubframe
retainedDuplicate
in interface StompContentSubframe
ByteBuf.retainedDuplicate()
StompFrame replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
in interface ByteBufHolder
replace
in interface LastStompContentSubframe
replace
in interface StompContentSubframe
StompFrame retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface LastStompContentSubframe
retain
in interface ReferenceCounted
retain
in interface StompContentSubframe
StompFrame retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface LastStompContentSubframe
retain
in interface ReferenceCounted
retain
in interface StompContentSubframe
StompFrame touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface LastStompContentSubframe
touch
in interface ReferenceCounted
touch
in interface StompContentSubframe
StompFrame touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface LastStompContentSubframe
touch
in interface ReferenceCounted
touch
in interface StompContentSubframe
Copyright © 2008–2017 The Netty Project. All rights reserved.