public class

BasicHttpRequest

extends AbstractHttpMessage
implements HttpRequest
java.lang.Object
   ↳ org.apache.http.message.AbstractHttpMessage
     ↳ org.apache.http.message.BasicHttpRequest
Known Direct Subclasses

Class Overview

Basic implementation of an HTTP request that can be modified.

Summary

[Expand]
Inherited Fields
From class org.apache.http.message.AbstractHttpMessage
Public Constructors
BasicHttpRequest(String method, String uri)
BasicHttpRequest(String method, String uri, ProtocolVersion ver)
BasicHttpRequest(RequestLine requestline)
Public Methods
ProtocolVersion getProtocolVersion()
Returns the protocol version this message is compatible with.
RequestLine getRequestLine()
Returns the request line of this request.
[Expand]
Inherited Methods
From class org.apache.http.message.AbstractHttpMessage
From class java.lang.Object
From interface org.apache.http.HttpMessage
From interface org.apache.http.HttpRequest

Public Constructors

public BasicHttpRequest (String method, String uri)

public BasicHttpRequest (String method, String uri, ProtocolVersion ver)

public BasicHttpRequest (RequestLine requestline)

Public Methods

public ProtocolVersion getProtocolVersion ()

Returns the protocol version this message is compatible with.

public RequestLine getRequestLine ()

Returns the request line of this request.

Returns
  • the request line.