org.apache.http.client.methods.HttpUriRequest
org.apache.http.client.methods.HttpUriRequest |
HttpRequest
|
Extended version of the HttpRequest interface that provides
convenience methods to access request properties such as request URI
and method type.
Known Indirect Subclasses
Summary
Public Methods
addHeader,
addHeader,
containsHeader,
getAllHeaders,
getFirstHeader,
getHeaders,
getLastHeader,
getParams,
getProtocolVersion,
headerIterator,
headerIterator,
removeHeader,
removeHeaders,
setHeader,
setHeader,
setHeaders,
setParams
Details
Public Methods
public
void
abort()
Aborts execution of the request.
public
String
getMethod()
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.
public
URI
getURI()
Returns the URI this request uses, such as
http://example.org/path/to/file
.
public
boolean
isAborted()
Tests if the request execution has been aborted.
Returns
true
if the request execution has been aborted,
false
otherwise.