@Deprecated @NotThreadSafe public class EntityEnclosingRequestWrapper extends RequestWrapper implements 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.headergroup, params
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, setURI
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest request) throws ProtocolException
ProtocolException
public HttpEntity getEntity()
getEntity
in interface HttpEntityEnclosingRequest
public void setEntity(HttpEntity entity)
setEntity
in interface HttpEntityEnclosingRequest
public boolean expectContinue()
expectContinue
in interface HttpEntityEnclosingRequest
public boolean isRepeatable()
isRepeatable
in class RequestWrapper
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.