static class HttpRequestWrapper.HttpEntityEnclosingRequestWrapper extends HttpRequestWrapper implements HttpEntityEnclosingRequest
HttpRequestWrapper.HttpEntityEnclosingRequestWrapper
headergroup, params
Constructor and Description |
---|
HttpRequestWrapper.HttpEntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request,
HttpHost target) |
Modifier and Type | Method and Description |
---|---|
boolean |
expectContinue()
Tells if this request should use the expect-continue handshake.
|
HttpEntity |
getEntity()
Returns the entity associated with this request.
|
void |
setEntity(HttpEntity entity)
Associates the entity with this request.
|
abort, getMethod, getOriginal, getParams, getProtocolVersion, getRequestLine, getTarget, getURI, isAborted, setProtocolVersion, setURI, toString, wrap, wrap
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
HttpRequestWrapper.HttpEntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request, HttpHost target)
public HttpEntity getEntity()
HttpEntityEnclosingRequest
getEntity
in interface HttpEntityEnclosingRequest
public void setEntity(HttpEntity entity)
HttpEntityEnclosingRequest
setEntity
in interface HttpEntityEnclosingRequest
entity
- the entity to send.public boolean expectContinue()
HttpEntityEnclosingRequest
expectContinue
in interface HttpEntityEnclosingRequest