org.apache.http.client.methods.HttpRequestBase
Basic implementation of an HTTP request that can be modified.
Known Direct Subclasses
Known Indirect Subclasses
Summary
Public Constructors
Public Methods
addHeader,
addHeader,
containsHeader,
getAllHeaders,
getFirstHeader,
getHeaders,
getLastHeader,
getParams,
headerIterator,
headerIterator,
removeHeader,
removeHeaders,
setHeader,
setHeader,
setHeaders,
setParams
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
addHeader,
addHeader,
containsHeader,
getAllHeaders,
getFirstHeader,
getHeaders,
getLastHeader,
getParams,
getProtocolVersion,
headerIterator,
headerIterator,
removeHeader,
removeHeaders,
setHeader,
setHeader,
setHeaders,
setParams
Details
Public Constructors
Public Methods
public
void
abort()
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.
public
Object
clone()
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
Classes which wish to support cloning must specify that they implement
the Cloneable interface, since the implementation checks for this.
Returns
- Object a shallow copy of this object.
public
abstract
String
getMethod()
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.
Returns the protocol version this message is compatible with.
public
RequestLine
getRequestLine()
Returns the request line of this request.
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.
public
void
setURI(URI uri)