@Deprecated public class EntityEnclosingRequestWrapper extends RequestWrapper
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 and Description |
|---|
EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
expectContinue()
Deprecated.
|
HttpEntity |
getEntity()
Deprecated.
|
boolean |
isRepeatable()
Deprecated.
|
void |
setEntity(HttpEntity entity)
Deprecated.
|
abort, getExecCount, getMethod, getOriginal, getProtocolVersion, getRequestLine, getURI, incrementExecCount, isAborted, resetHeaders, setMethod, setProtocolVersion, setURIpublic EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request)
throws ProtocolException
ProtocolExceptionpublic HttpEntity getEntity()
public void setEntity(HttpEntity entity)
public boolean expectContinue()
public boolean isRepeatable()
isRepeatable in class RequestWrapper