Wiring HTTP client security in Spring

Brent Putman putmanb at georgetown.edu
Mon Oct 24 11:57:03 EDT 2016



On 10/24/16 11:42 AM, Cantor, Scott wrote:
>
> It's fixed, I checked their svn. It's in the EntityBuilder code, it builds a 1 byte stream now if you initialize it with an InputStream.

Ah, ok I see it now.  The error is in that EntityBuilder helper class,
which I've never used.  I'm pretty sure I've used the InputStreamEntity
without problem in the past.


> I was hoping to use a pipe to connect the JSON serialization stream to the entity body input stream, but I just went ahead and buffered it with a byte array for now.

Fwiw, I don't think it's verboten to new an instance of
InputStreamEntity directly (or any HttpEntity subclass).  I wasn't even
aware of EntityBuilder.   


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20161024/cbb878ed/attachment.html>


More information about the dev mailing list