[jira] [Commented] (FILEUPLOAD-278) MultipartStream need readBodyDataStream

2016-09-18 Thread shuaib hasan khwaja (JIRA)

[ 
https://issues.apache.org/jira/browse/FILEUPLOAD-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502098#comment-15502098
 ] 

shuaib hasan khwaja commented on FILEUPLOAD-278:


https://commons.apache.org/proper/commons-fileupload/apidocs/org/apache/commons/fileupload/MultipartStream.html

> MultipartStream need readBodyDataStream
> ---
>
> Key: FILEUPLOAD-278
> URL: https://issues.apache.org/jira/browse/FILEUPLOAD-278
> Project: Commons FileUpload
>  Issue Type: Improvement
>Affects Versions: 1.3.2
>Reporter: shuaib hasan khwaja
>
> Currently MultipartStream has support for "readBodyData", which basically 
> read the body data and write in out stream. It work great, if plan to have 
> body in memory or write in disk. But not work when you want to upstream some 
> where else.
> Its a good idea to get the InputStream for part body and use it for upload to 
> upstream. Some thing like...
> public InputStream readBodyDataStream(OutputStream output) IOException
> { return newInputStream(); }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FILEUPLOAD-278) MultipartStream need readBodyDataStream

2016-09-18 Thread shuaib hasan khwaja (JIRA)
shuaib hasan khwaja created FILEUPLOAD-278:
--

 Summary: MultipartStream need readBodyDataStream
 Key: FILEUPLOAD-278
 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-278
 Project: Commons FileUpload
  Issue Type: Improvement
Affects Versions: 1.3.2
Reporter: shuaib hasan khwaja


Currently MultipartStream has support for "readBodyData", which basically read 
the body data and write in out stream. It work great, if plan to have body in 
memory or write in disk. But not work when you want to upstream some where else.
Its a good idea to get the InputStream for part body and use it for upload to 
upstream. Some thing like...
public InputStream readBodyDataStream(OutputStream output) IOException
{ return newInputStream(); }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)