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()
Create a deep copy of this
ByteBufHolder . |
StompFrame |
duplicate()
Duplicate the
ByteBufHolder . |
StompFrame |
retain()
Increases the reference count by
1 . |
StompFrame |
retain(int increment)
Increases the reference count by the specified
increment . |
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 additonal 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 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–2016 The Netty Project. All rights reserved.