static class HttpRequestWrapper.HttpEntityEnclosingRequestWrapper extends HttpRequestWrapper implements HttpEntityEnclosingRequest
HttpRequestWrapper.HttpEntityEnclosingRequestWrapperheadergroup, 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, wrapaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRequestLineaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsHttpRequestWrapper.HttpEntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request, HttpHost target)
public HttpEntity getEntity()
HttpEntityEnclosingRequestgetEntity in interface HttpEntityEnclosingRequestpublic void setEntity(HttpEntity entity)
HttpEntityEnclosingRequestsetEntity in interface HttpEntityEnclosingRequestentity - the entity to send.public boolean expectContinue()
HttpEntityEnclosingRequestexpectContinue in interface HttpEntityEnclosingRequest