Interface HttpRequest

All Superinterfaces:
HttpMessage
All Known Subinterfaces:
HttpEntityEnclosingRequest
All Known Implementing Classes:
BasicHttpEntityEnclosingRequest, BasicHttpRequest

public interface HttpRequest extends HttpMessage
A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.
     Request       = Request-Line
                     *(( general-header
                      | request-header
                      | entity-header ) CRLF)
                     CRLF
                     [ message-body ]
Since:
4.0
  • Method Details

    • getRequestLine

      RequestLine getRequestLine()
      Returns the request line of this request.
      Returns:
      the request line.