HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest@Deprecated public class EntityEnclosingRequestWrapper extends RequestWrapper implements org.apache.http.HttpEntityEnclosingRequest
HttpEntityEnclosingRequests that can
be used to change properties of the current request without
modifying the original object.
This class is also capable of resetting the request headers to the state of the original request.
| Constructor | Description |
|---|---|
EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
expectContinue() |
Deprecated.
|
org.apache.http.HttpEntity |
getEntity() |
Deprecated.
|
boolean |
isRepeatable() |
Deprecated.
|
void |
setEntity(org.apache.http.HttpEntity entity) |
Deprecated.
|
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, getExecCount, getMethod, getOriginal, getProtocolVersion, getRequestLine, getURI, incrementExecCount, isAborted, resetHeaders, setMethod, setProtocolVersion, setURIpublic EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request)
throws org.apache.http.ProtocolException
org.apache.http.ProtocolExceptionpublic org.apache.http.HttpEntity getEntity()
getEntity in interface org.apache.http.HttpEntityEnclosingRequestpublic void setEntity(org.apache.http.HttpEntity entity)
setEntity in interface org.apache.http.HttpEntityEnclosingRequestpublic boolean expectContinue()
expectContinue in interface org.apache.http.HttpEntityEnclosingRequestpublic boolean isRepeatable()
isRepeatable in class RequestWrapper