org.apache.http.entity.EntityTemplate
Entity that delegates the process of content generation to an abstract
content producer.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
public
void
consumeContent()
Does not consume anything.
The default implementation does nothing if
isStreaming
returns
false
, and throws an exception
if it returns
true
.
This removes the burden of implementing
an empty method for non-streaming entities.
public
long
getContentLength()
public
boolean
isRepeatable()
public
boolean
isStreaming()