public class DefaultStompFrame extends DefaultStompHeadersSubframe implements StompFrame
StompFrame
.command, decoderResult, headers
EMPTY_LAST_CONTENT
Constructor and Description |
---|
DefaultStompFrame(StompCommand command) |
DefaultStompFrame(StompCommand command,
io.netty.buffer.ByteBuf content) |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBuf |
content() |
StompFrame |
copy() |
StompFrame |
duplicate() |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
StompFrame |
replace(io.netty.buffer.ByteBuf content) |
StompFrame |
retain() |
StompFrame |
retain(int increment) |
StompFrame |
retainedDuplicate() |
String |
toString() |
StompFrame |
touch() |
StompFrame |
touch(Object hint) |
command, decoderResult, headers, setDecoderResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
command, headers
public DefaultStompFrame(StompCommand command)
public DefaultStompFrame(StompCommand command, io.netty.buffer.ByteBuf content)
public io.netty.buffer.ByteBuf content()
content
in interface io.netty.buffer.ByteBufHolder
public StompFrame copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface LastStompContentSubframe
copy
in interface StompContentSubframe
copy
in interface StompFrame
public StompFrame duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in interface LastStompContentSubframe
duplicate
in interface StompContentSubframe
duplicate
in interface StompFrame
public StompFrame retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in interface LastStompContentSubframe
retainedDuplicate
in interface StompContentSubframe
retainedDuplicate
in interface StompFrame
public StompFrame replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in interface LastStompContentSubframe
replace
in interface StompContentSubframe
replace
in interface StompFrame
public int refCnt()
refCnt
in interface io.netty.util.ReferenceCounted
public StompFrame retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface LastStompContentSubframe
retain
in interface StompContentSubframe
retain
in interface StompFrame
retain
in interface io.netty.util.ReferenceCounted
public StompFrame retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface LastStompContentSubframe
retain
in interface StompContentSubframe
retain
in interface StompFrame
retain
in interface io.netty.util.ReferenceCounted
public StompFrame touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface LastStompContentSubframe
touch
in interface StompContentSubframe
touch
in interface StompFrame
touch
in interface io.netty.util.ReferenceCounted
public StompFrame touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface LastStompContentSubframe
touch
in interface StompContentSubframe
touch
in interface StompFrame
touch
in interface io.netty.util.ReferenceCounted
public boolean release()
release
in interface io.netty.util.ReferenceCounted
public boolean release(int decrement)
release
in interface io.netty.util.ReferenceCounted
public String toString()
toString
in class DefaultStompHeadersSubframe
Copyright © 2008–2020 The Netty Project. All rights reserved.