java.lang.Object | ||
↳ | org.apache.http.message.AbstractHttpMessage | |
↳ | org.apache.http.message.BasicHttpRequest |
Known Direct Subclasses |
Basic implementation of HttpRequest
.
The following parameters can be used to customize the behavior of this class:
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.message.AbstractHttpMessage
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance of this class using the given request method
and URI.
| |||||||||||
Creates an instance of this class using the given request method, URI
and the HTTP protocol version.
| |||||||||||
Creates an instance of this class using the given request line.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the HTTP protocol version to be used for this request.
| |||||||||||
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
|
Creates an instance of this class using the given request method
and URI. The HTTP protocol version will be obtained from the
HttpParams
instance associated with the object.
The initialization will be deferred
until getRequestLine()
is accessed for the first time.
method | request method. |
---|---|
uri | request URI. |
Creates an instance of this class using the given request method, URI and the HTTP protocol version.
method | request method. |
---|---|
uri | request URI. |
ver | HTTP protocol version. |
Creates an instance of this class using the given request line.
requestline | request line. |
---|
Returns the HTTP protocol version to be used for this request. If an
HTTP protocol version was not explicitly set at the construction time,
this method will obtain it from the HttpParams
instance
associated with the object.
Returns the request line of this request. If an HTTP protocol version
was not explicitly set at the construction time, this method will obtain
it from the HttpParams
instance associated with the object.