org.apache.http.message.BasicHttpEntityEnclosingRequest
Basic implementation of a request with an entity that can be modified.
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
BasicHttpEntityEnclosingRequest(String method, String uri)
public
BasicHttpEntityEnclosingRequest(RequestLine requestline)
Public Methods
public
boolean
expectContinue()
Tells if this request should use the expect-continue handshake.
The expect continue handshake gives the server a chance to decide
whether to accept the entity enclosing request before the possibly
lengthy entity is sent across the wire.
public
void
setEntity(HttpEntity entity)
Hands the entity to the request.