java.lang.Object | ||
↳ | org.apache.http.message.AbstractHttpMessage | |
↳ | org.apache.http.impl.client.RequestWrapper |
Known Direct Subclasses |
A wrapper class for HttpRequests that can be used to change properties of the current request without modifying the original object.
This class is also capable of resetting the request headers to the state of the original request.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.message.AbstractHttpMessage
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Aborts execution of the request.
| |||||||||||
Returns the HTTP method this request uses, such as
GET ,
PUT , POST , or other. | |||||||||||
Returns the URI this request uses, such as
http://example.org/path/to/file . | |||||||||||
Tests if the request execution has been aborted.
| |||||||||||
[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
| |||||||||||
From interface
org.apache.http.client.methods.HttpUriRequest
|
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.
Returns the URI this request uses, such as
http://example.org/path/to/file
.
Note that the URI may be absolute URI (as above) or may be a relative URI.
Implementations are encouraged to return the URI that was initially requested.
To find the final URI after any redirects have been processed, please see the section entitled HTTP execution context in the HttpClient Tutorial
Tests if the request execution has been aborted.
true
if the request execution has been aborted,
false
otherwise.