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 StompCommandprotected DecoderResultprotected 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.voidsetDecoderResult(DecoderResult decoderResult) Updates the result of decoding this object.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
command
-
decoderResult
-
headers
-
-
Constructor Details
-
DefaultStompHeadersSubframe
-
DefaultStompHeadersSubframe
DefaultStompHeadersSubframe(StompCommand command, DefaultStompHeaders headers)
-
-
Method Details
-
command
Description copied from interface:StompHeadersSubframeReturns command of this frame.- Specified by:
commandin interfaceStompHeadersSubframe
-
headers
Description copied from interface:StompHeadersSubframeReturns headers of this frame.- Specified by:
headersin interfaceStompHeadersSubframe
-
decoderResult
Description copied from interface:DecoderResultProviderReturns the result of decoding this object.- Specified by:
decoderResultin interfaceDecoderResultProvider
-
setDecoderResult
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
-