Re: Parsing of multi part content

2019-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurav, On 1/7/19 13:13, Saurav Sarkar wrote: > Thanks a lot Chris for the reply. > > I think even if i parse the request myself i have to always load > the content in memory/disk. > > Because in order to extract the file uploaded from the reques

Re: Parsing of multi part content

2019-01-07 Thread Saurav Sarkar
Thanks a lot Chris for the reply. i think even if i parse the request myself i have to always load the content in memory/disk. Because in order to extract the file uploaded from the request , i have to go through the whole request stream and trim down the boundaries. Best Regards, Saurav On Thu,

Re: Parsing of multi part content

2019-01-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurav, On 1/2/19 12:20, Saurav Sarkar wrote: > Hi All, > > This is regarding the reading of multi part content in java server > side. > > ServletRequest has an API getParts() API for reading the parts of a > multi part request > https://docs.ora

Parsing of multi part content

2019-01-02 Thread Saurav Sarkar
Hi All, This is regarding the reading of multi part content in java server side. ServletRequest has an API getParts() API for reading the parts of a multi part request https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getParts() . It has part.getInputStream which ca