media type of the entity.
stream from which to read the content of the entity.
Charset in which the entity is written, if any.
stream from which to read the content of the entity.
Reads the whole response and discards it.
Reads the whole response and discards it.
This method is useful when callers have no interest in the response's content, but want to re-use connections if possible. If keep-alive is not desirable / enabled, the ignore method might be preferred.
Ignores this entity.
Ignores this entity.
This method will close the underlying stream without reading its content. This is useful when callers have no interest in the response entity and don't want to to through the trouble of reading the response.
Do note, however, that calling this method will prevent the underlying connection from being re-used by keep-alive.
media type of the entity.
Executes the specified function on this response entity.
Executes the specified function on this response entity.
This method will take care of closing the underlying stream.
Executes the specified function on this response entity.
Executes the specified function on this response entity.
This method will take care of closing the underlying stream.
Represents a raw response entity.