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 StompCommand
command
protected DecoderResult
decoderResult
protected DefaultStompHeaders
headers
-
Constructor Summary
Constructors Constructor Description DefaultStompHeadersSubframe(StompCommand command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StompCommand
command()
Returns command of this frame.DecoderResult
decoderResult()
Returns the result of decoding this object.StompHeaders
headers()
Returns headers of this frame.void
setDecoderResult(DecoderResult decoderResult)
Updates the result of decoding this object.java.lang.String
toString()
-
-
-
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:StompHeadersSubframe
Returns command of this frame.- Specified by:
command
in interfaceStompHeadersSubframe
-
headers
public StompHeaders headers()
Description copied from interface:StompHeadersSubframe
Returns headers of this frame.- Specified by:
headers
in interfaceStompHeadersSubframe
-
decoderResult
public DecoderResult decoderResult()
Description copied from interface:DecoderResultProvider
Returns the result of decoding this object.- Specified by:
decoderResult
in interfaceDecoderResultProvider
-
setDecoderResult
public void setDecoderResult(DecoderResult decoderResult)
Description copied from interface:DecoderResultProvider
Updates 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:
setDecoderResult
in interfaceDecoderResultProvider
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-