The ContentType
associated with this entity.
The ContentType
associated with this entity.
A stream of the data of this entity.
A stream of the data of this entity.
Determines whether this entity is known to be empty.
Determines whether this entity is known to be empty.
Java API
Java API
Collects all possible parts and returns a future Strict entity for easier processing.
Collects all possible parts and returns a future Strict entity for easier processing. The future is failed with an TimeoutException if the stream isn't completed after the given timeout.
An HttpEntity that is "well-behaved" according to the HTTP/1.1 spec as that it is either chunked or defines a content-length that is known a-priori. Close-delimited entities are not
Regular
as they exists primarily for backwards compatibility with HTTP/1.0.