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
Default implementation of
StompHeadersSubframe
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StompCommand
protected DecoderResult
protected final DefaultStompHeaders
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultStompHeadersSubframe
(StompCommand command) DefaultStompHeadersSubframe
(StompCommand command, DefaultStompHeaders headers) -
Method Summary
Modifier and TypeMethodDescriptioncommand()
Returns command of this frame.Returns the result of decoding this object.headers()
Returns headers of this frame.void
setDecoderResult
(DecoderResult decoderResult) Updates the result of decoding this object.toString()
-
Field Details
-
command
-
decoderResult
-
headers
-
-
Constructor Details
-
DefaultStompHeadersSubframe
-
DefaultStompHeadersSubframe
DefaultStompHeadersSubframe(StompCommand command, DefaultStompHeaders headers)
-
-
Method Details
-
command
Description copied from interface:StompHeadersSubframe
Returns command of this frame.- Specified by:
command
in interfaceStompHeadersSubframe
-
headers
Description copied from interface:StompHeadersSubframe
Returns headers of this frame.- Specified by:
headers
in interfaceStompHeadersSubframe
-
decoderResult
Description copied from interface:DecoderResultProvider
Returns the result of decoding this object.- Specified by:
decoderResult
in interfaceDecoderResultProvider
-
setDecoderResult
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
-