@Deprecated public class EntityEnclosingRequestWrapper extends RequestWrapper implements org.apache.http.HttpEntityEnclosingRequest
HttpEntityEnclosingRequest
s 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.
Modifier and Type | Class and Description |
---|---|
(package private) class |
EntityEnclosingRequestWrapper.EntityWrapper
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private boolean |
consumed
Deprecated.
|
private org.apache.http.HttpEntity |
entity
Deprecated.
|
Constructor and Description |
---|
EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
expectContinue()
Deprecated.
|
org.apache.http.HttpEntity |
getEntity()
Deprecated.
|
boolean |
isRepeatable()
Deprecated.
|
void |
setEntity(org.apache.http.HttpEntity entity)
Deprecated.
|
abort, getExecCount, getMethod, getOriginal, getProtocolVersion, getRequestLine, getURI, incrementExecCount, isAborted, resetHeaders, setMethod, setProtocolVersion, setURI
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
private org.apache.http.HttpEntity entity
private boolean consumed
public EntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request) throws org.apache.http.ProtocolException
org.apache.http.ProtocolException
public org.apache.http.HttpEntity getEntity()
getEntity
in interface org.apache.http.HttpEntityEnclosingRequest
public void setEntity(org.apache.http.HttpEntity entity)
setEntity
in interface org.apache.http.HttpEntityEnclosingRequest
public boolean expectContinue()
expectContinue
in interface org.apache.http.HttpEntityEnclosingRequest
public boolean isRepeatable()
isRepeatable
in class RequestWrapper