@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| Constructor and Description |
|---|
EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
expectContinue() |
HttpEntity |
getEntity() |
boolean |
isRepeatable() |
void |
setEntity(HttpEntity entity) |
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
ProtocolExceptionpublic HttpEntity getEntity()
getEntity in interface HttpEntityEnclosingRequestpublic void setEntity(HttpEntity entity)
setEntity in interface HttpEntityEnclosingRequestpublic boolean expectContinue()
expectContinue in interface HttpEntityEnclosingRequestpublic boolean isRepeatable()
isRepeatable in class RequestWrapperCopyright © 1999–2013 The Apache Software Foundation. All rights reserved.