java.lang.Object | ||
↳ | org.apache.http.message.AbstractHttpMessage | |
↳ | org.apache.http.client.methods.HttpRequestBase |
Known Direct Subclasses |
Known Indirect Subclasses |
Basic implementation of an HTTP request that can be modified.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.message.AbstractHttpMessage
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Aborts this http request.
| |||||||||||
Creates and returns a copy of this
Object . | |||||||||||
Returns the HTTP method this request uses, such as
GET ,
PUT , POST , or other. | |||||||||||
Returns the protocol version this message is compatible with.
| |||||||||||
Returns the request line of this request.
| |||||||||||
Returns the URI this request uses, such as
http://example.org/path/to/file . | |||||||||||
Tests if the request execution has been aborted.
| |||||||||||
Sets the
ClientConnectionRequest callback that can be
used to abort a long-lived request for a connection. | |||||||||||
Sets the
ConnectionReleaseTrigger callback that can
be used to abort an active connection. | |||||||||||
[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.AbortableHttpRequest
| |||||||||||
From interface
org.apache.http.client.methods.HttpUriRequest
|
Aborts this http request. Any active execution of this method should return immediately. If the request has not started, it will abort after the next execution. Aborting this request will cause all subsequent executions with this request to fail.
Creates and returns a copy of this Object
. The default
implementation returns a so-called "shallow" copy: It creates a new
instance of the same class and then copies the field values (including
object references) from this instance to the new instance. A "deep" copy,
in contrast, would also recursively clone nested objects. A subclass that
needs to implement this kind of cloning should call super.clone()
to create the new instance and then create deep copies of the nested,
mutable objects.
CloneNotSupportedException |
---|
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.
Returns the protocol version this message is compatible with.
Returns the request line of this request.
Returns the URI this request uses, such as
http://example.org/path/to/file
.
Tests if the request execution has been aborted.
true
if the request execution has been aborted,
false
otherwise.
Sets the ClientConnectionRequest
callback that can be
used to abort a long-lived request for a connection.
If the request is already aborted, throws an IOException
.
IOException |
---|
Sets the ConnectionReleaseTrigger
callback that can
be used to abort an active connection.
Typically, this will be the ManagedClientConnection
itself.
If the request is already aborted, throws an IOException
.
IOException |
---|