org.apache.http.client.methods.HttpUriRequest |
Known Indirect Subclasses |
Extended version of the HttpRequest interface that provides convenience methods to access request properties such as request URI and method type.
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 interface
org.apache.http.HttpMessage
| |||||||||||
From interface
org.apache.http.HttpRequest
|
Aborts execution of the request.
UnsupportedOperationException | if the abort operation is not supported / cannot be implemented. |
---|
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.