public interface LastStompContentSubframe extends StompContentSubframe
StompContentSubframe which signals the end of the content batch
Note, even when no content is emitted by the protocol, an
empty LastStompContentSubframe is issued to make the upstream parsing
easier.| Modifier and Type | Field and Description |
|---|---|
static LastStompContentSubframe |
EMPTY_LAST_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
LastStompContentSubframe |
copy()
Creates a deep copy of this
ByteBufHolder. |
LastStompContentSubframe |
duplicate()
Duplicates this
ByteBufHolder. |
LastStompContentSubframe |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
LastStompContentSubframe |
retain()
Increases the reference count by
1. |
LastStompContentSubframe |
retain(int increment)
Increases the reference count by the specified
increment. |
LastStompContentSubframe |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
LastStompContentSubframe |
touch()
Records the current access location of this object for debugging purposes.
|
LastStompContentSubframe |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
contentrefCnt, release, releasedecoderResult, setDecoderResultstatic final LastStompContentSubframe EMPTY_LAST_CONTENT
LastStompContentSubframe copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface StompContentSubframeLastStompContentSubframe duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface StompContentSubframeLastStompContentSubframe retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface StompContentSubframeByteBuf.retainedDuplicate()LastStompContentSubframe replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface StompContentSubframeLastStompContentSubframe retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in interface StompContentSubframeLastStompContentSubframe retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in interface StompContentSubframeLastStompContentSubframe touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in interface StompContentSubframeLastStompContentSubframe touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in interface StompContentSubframeCopyright © 2008–2017 The Netty Project. All rights reserved.