Class HttpRequestParser


  • public abstract class HttpRequestParser
    extends Object
    The basic HTTP parser. The actual parser is a sub class of this class that is generated as part of the build process by the AbstractParserGenerator annotation processor.

    The actual processor is a state machine, that means that for common header, method, protocol values it will return an interned string, rather than creating a new string for each one.

    Author:
    Stuart Douglas
    • Field Detail

      • HTTP_LENGTH

        public static final int HTTP_LENGTH
    • Constructor Detail

      • HttpRequestParser

        public HttpRequestParser​(org.xnio.OptionMap options)