DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36647>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36647 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2005-09-20 07:37 ------- Hi Ortwig and Oleg! (In reply to comment #2) > [...] > how to write custom request entities instead of including it into the contrib > package? Sure! You're welcome and looking at the writeRequest method, one could re-use the byte[] allocated before the while-loop and make the chunk size a constructor parameter. :) if (remaining > 0) { if (chunk == null) { chunk = new byte[remaining]; } buffer.get(chunk, 0, remaining); out.write(chunk, 0, remaining); } Cheers again, Christian -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
