Deprecated
as a consequence of HttpRequestBase being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private HttpEntity |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides org. |
| public boolean | expectContinue()
Implements org. |
| public HttpEntity | getEntity()
Implements org. |
| public void | setEntity(final HttpEntity
the entity to send. entity)Implements org. |
| entity | back to summary |
|---|---|
| private HttpEntity entity | |
| HttpEntityEnclosingRequestBase | back to summary |
|---|---|
| public HttpEntityEnclosingRequestBase() | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides org. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| expectContinue | back to summary |
|---|---|
| public boolean expectContinue() Implements org. Doc from org. Tells if this request should use the expect-continue handshake. The expect continue handshake gives the server a chance to decide whether to accept the entity enclosing request before the possibly lengthy entity is sent across the wire.
| |
| getEntity | back to summary |
|---|---|
| public HttpEntity getEntity() Implements org. Doc from org. Returns the entity associated with this request.
| |
| setEntity | back to summary |
|---|---|
| public void setEntity(final HttpEntity entity) Implements org. Doc from org. Associates the entity with this request.
| |