I'm unsubscribing from this list for the time being, but would still love to see a comment (either way) on:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38623 thanks! dave On Tue, Jan 31, 2006 at 09:02:31AM +0000, David Holroyd wrote: > All, > > The current FileUpload API only allows uploaded data to be read by the > application if an intermediate buffer (i.e. DiskFileItem) is used. It > would be very handy if the low-level interfaces provided read access to > the uploaded file data. > > Currently, the API provided by MultipartStream is in terms of an > OutputStream, > > int readBodyData(OutputStream output) > > > I am proposing the addition of a method like, > > InputStream readBodyData() > > > I've started hacking together some code to add this functionality, and > to re-implemented the original readBodyData(OutputStream) method > in terms of this using IOUtils.copy(int, out). > > Would a patch along these lines be accepted? -- http://david.holroyd.me.uk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]