On Wed, 2016-01-27 at 13:45 -0500, Benson Margulies wrote:
> The documentation for HttpEntity is leaving me a bit puzzled: if I
> have content generated on the fly, I can implement writeTo, but I
> can't implement getContent() without generating into an array and
> making a ByteArrayInputStream. Can I just return null from
> getContent()? If so, I will make a PR to clarify the doc.
> 

It it legal for #getContent to throw UnsupportedOperationException. I
think javadoc states that, does not it? 

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to