Class StompSubframeDecoder.Utf8LineParser

java.lang.Object
io.netty.handler.codec.stomp.StompSubframeDecoder.Utf8LineParser
All Implemented Interfaces:
ByteProcessor
Direct Known Subclasses:
StompSubframeDecoder.HeaderParser
Enclosing class:
StompSubframeDecoder

private static class StompSubframeDecoder.Utf8LineParser extends java.lang.Object implements ByteProcessor
  • Field Details

    • charSeq

      private final AppendableCharSequence charSeq
    • maxLineLength

      private final int maxLineLength
    • lineLength

      private int lineLength
    • interim

      private char interim
    • nextRead

      private boolean nextRead
  • Constructor Details

  • Method Details

    • parse

    • charSequence

      AppendableCharSequence charSequence()
    • process

      public boolean process(byte nextByte) throws java.lang.Exception
      Specified by:
      process in interface ByteProcessor
      Returns:
      true if the processor wants to continue the loop and handle the next byte in the buffer. false if the processor wants to stop handling bytes and abort the loop.
      Throws:
      java.lang.Exception
    • appendTo

      protected void appendTo(AppendableCharSequence charSeq, char chr)
    • reset

      protected void reset()