@Deprecated @NotThreadSafe public class EntityEnclosingRequestWrapper extends RequestWrapper implements 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.headergroup, params| 构造器和说明 |
|---|
EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
expectContinue()
已过时。
Tells if this request should use the expect-continue handshake.
|
HttpEntity |
getEntity()
已过时。
Returns the entity associated with this request.
|
boolean |
isRepeatable()
已过时。
|
void |
setEntity(HttpEntity entity)
已过时。
Associates the entity with this request.
|
abort, getExecCount, getMethod, getOriginal, getProtocolVersion, getRequestLine, getURI, incrementExecCount, isAborted, resetHeaders, setMethod, setProtocolVersion, setURIaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestLineaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamspublic EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request) throws ProtocolException
public HttpEntity getEntity()
HttpEntityEnclosingRequestgetEntity 在接口中 HttpEntityEnclosingRequestpublic void setEntity(HttpEntity entity)
HttpEntityEnclosingRequestsetEntity 在接口中 HttpEntityEnclosingRequestentity - the entity to send.public boolean expectContinue()
HttpEntityEnclosingRequestexpectContinue 在接口中 HttpEntityEnclosingRequestpublic boolean isRepeatable()
isRepeatable 在类中 RequestWrapper