Class BasicLineParser

    • Field Detail

      • FULL_STOP

        private static final java.util.BitSet FULL_STOP
      • BLANKS

        private static final java.util.BitSet BLANKS
      • COLON

        private static final java.util.BitSet COLON
      • protocol

        private final ProtocolVersion protocol
        A version of the protocol to parse. The version is typically not relevant, but the protocol name.
      • tokenizer

        private final Tokenizer tokenizer
    • Constructor Detail

      • BasicLineParser

        public BasicLineParser​(ProtocolVersion proto)
        Creates a new line parser for the given HTTP-like protocol.
        Parameters:
        proto - a version of the protocol to parse, or null for HTTP. The actual version is not relevant, only the protocol name.
      • BasicLineParser

        public BasicLineParser()
        Creates a new line parser for HTTP.