shuaib hasan khwaja created ATLAS-1176:
------------------------------------------

             Summary: MultipartStream need readBodyDataStream
                 Key: ATLAS-1176
                 URL: https://issues.apache.org/jira/browse/ATLAS-1176
             Project: Atlas
          Issue Type: Improvement
            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)

Reply via email to