Interface HttpParser.RequestHandler

    • Method Detail

      • startRequest

        boolean startRequest​(java.lang.String method,
                             java.lang.String uri,
                             HttpVersion version)
        This is the method called by parser when the HTTP request line is parsed
        Parameters:
        method - The method
        uri - The raw bytes of the URI. These are copied into a ByteBuffer that will not be changed until this parser is reset and reused.
        version - the http version in use
        Returns:
        true if handling parsing should return.