hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Brisbin <...@jbrisbin.com>
Subject HttpAsyncPut constructor issue
Date Wed, 03 Aug 2011 15:16:54 GMT
I'm building a proof of concept application that uses the async HTTP client and I've hit a
snag w.r.t. the API. I'm streaming content using PUT and I don't have any content to pass
to the constructor. Is it safe to pass null here? I need to send content in chunks because
it's impossible to do it by loading the (possibly huge) files into a byte[] in memory. 

How do I do streaming with a PUT using the async HTTP client? 


Thanks! 

Jon Brisbin 
http//jbrisbin.com 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message