Class BasicHttpRequest

    • Constructor Detail

      • BasicHttpRequest

        public BasicHttpRequest​(String method,
                                String uri)
        Creates an instance of this class using the given request method and URI.
        Parameters:
        method - request method.
        uri - request URI.
      • BasicHttpRequest

        public BasicHttpRequest​(String method,
                                String uri,
                                ProtocolVersion ver)
        Creates an instance of this class using the given request method, URI and the HTTP protocol version.
        Parameters:
        method - request method.
        uri - request URI.
        ver - HTTP protocol version.
      • BasicHttpRequest

        public BasicHttpRequest​(RequestLine requestline)
        Creates an instance of this class using the given request line.
        Parameters:
        requestline - request line.