Class StompFrameHandlerV11.StompDecoderV11
java.lang.Object
org.apache.activemq.artemis.core.protocol.stomp.StompDecoder
org.apache.activemq.artemis.core.protocol.stomp.v11.StompFrameHandlerV11.StompDecoderV11
- Direct Known Subclasses:
StompFrameHandlerV12.StompDecoderV12
- Enclosing class:
- StompFrameHandlerV11
-
Field Summary
FieldsFields inherited from class org.apache.activemq.artemis.core.protocol.stomp.StompDecoder
A, B, bodyStart, c, C, command, COMMAND_ABORT, COMMAND_ABORT_LENGTH, COMMAND_ACK, COMMAND_ACK_LENGTH, COMMAND_BEGIN, COMMAND_BEGIN_LENGTH, COMMAND_COMMIT, COMMAND_COMMIT_LENGTH, COMMAND_CONNECT, COMMAND_CONNECT_LENGTH, COMMAND_CONNECTED, COMMAND_CONNECTED_LENGTH, COMMAND_DISCONNECT, COMMAND_DISCONNECT_LENGTH, COMMAND_ERROR, COMMAND_ERROR_LENGTH, COMMAND_MESSAGE, COMMAND_MESSAGE_LENGTH, COMMAND_NACK, COMMAND_NACK_LENGTH, COMMAND_RECEIPT, COMMAND_RECEIPT_LENGTH, COMMAND_SEND, COMMAND_SEND_LENGTH, COMMAND_STOMP, COMMAND_STOMP_LENGTH, COMMAND_SUBSCRIBE, COMMAND_SUBSCRIBE_LENGTH, COMMAND_UNSUBSCRIBE, COMMAND_UNSUBSCRIBE_LENGTH, contentLength, contentType, CR, D, data, E, eolLen, handler, HEADER_SEPARATOR, headerName, headers, headerValueWhitespace, inHeaderName, LN, M, N, NEW_LINE, pos, R, readingHeaders, RT, S, SPACE, T, TAB, TRIM_LEADING_HEADER_VALUE_WHITESPACE, U, whiteSpaceOnly, workingBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckEol()voidinit()voidinit(StompDecoder decoder) This should be overridden by subclasses.protected StompFrameprotected booleanprotected booleanprotected voidthrowUndefinedEscape(byte b) Methods inherited from class org.apache.activemq.artemis.core.protocol.stomp.StompDecoder
decode, hasBytes, resizeWorking, throwInvalid, tryIncrement
-
Field Details
-
isEscaping
protected boolean isEscaping -
holder
-
-
Constructor Details
-
StompDecoderV11
-
-
Method Details
-
init
Description copied from class:StompDecoderThis should be overridden by subclasses.- Overrides:
initin classStompDecoder
-
init
public void init()- Overrides:
initin classStompDecoder
-
parseCommand
- Overrides:
parseCommandin classStompDecoder- Throws:
ActiveMQStompException
-
checkEol
- Throws:
ActiveMQStompException
-
throwUndefinedEscape
- Throws:
ActiveMQStompException
-
parseHeaders
- Overrides:
parseHeadersin classStompDecoder- Throws:
ActiveMQStompException
-
parseBody
- Overrides:
parseBodyin classStompDecoder- Throws:
ActiveMQStompException
-