Package io.netty.handler.codec.stomp
Class DefaultStompHeadersSubframe
- java.lang.Object
-
- io.netty.handler.codec.stomp.DefaultStompHeadersSubframe
-
- All Implemented Interfaces:
DecoderResultProvider,StompHeadersSubframe,StompSubframe
- Direct Known Subclasses:
DefaultStompFrame
public class DefaultStompHeadersSubframe extends java.lang.Object implements StompHeadersSubframe
Default implementation ofStompHeadersSubframe.
-
-
Field Summary
Fields Modifier and Type Field Description protected StompCommandcommandprotected DecoderResultdecoderResultprotected DefaultStompHeadersheaders
-
Constructor Summary
Constructors Constructor Description DefaultStompHeadersSubframe(StompCommand command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StompCommandcommand()Returns command of this frame.DecoderResultdecoderResult()Returns the result of decoding this object.StompHeadersheaders()Returns headers of this frame.voidsetDecoderResult(DecoderResult decoderResult)Updates the result of decoding this object.java.lang.StringtoString()
-
-
-
Field Detail
-
command
protected final StompCommand command
-
decoderResult
protected DecoderResult decoderResult
-
headers
protected final DefaultStompHeaders headers
-
-
Constructor Detail
-
DefaultStompHeadersSubframe
public DefaultStompHeadersSubframe(StompCommand command)
-
-
Method Detail
-
command
public StompCommand command()
Description copied from interface:StompHeadersSubframeReturns command of this frame.- Specified by:
commandin interfaceStompHeadersSubframe
-
headers
public StompHeaders headers()
Description copied from interface:StompHeadersSubframeReturns headers of this frame.- Specified by:
headersin interfaceStompHeadersSubframe
-
decoderResult
public DecoderResult decoderResult()
Description copied from interface:DecoderResultProviderReturns the result of decoding this object.- Specified by:
decoderResultin interfaceDecoderResultProvider
-
setDecoderResult
public void setDecoderResult(DecoderResult decoderResult)
Description copied from interface:DecoderResultProviderUpdates the result of decoding this object. This method is supposed to be invoked by a decoder. Do not call this method unless you know what you are doing.- Specified by:
setDecoderResultin interfaceDecoderResultProvider
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-