http multipart/form-data decoding

"Trustin Lee (이희승)" trustin at gmail.com
Tue Jun 1 04:12:09 EDT 2010


Hi Raj,

There's a branch that has a multipart decoder, but I didn't have a
chance to review and merge it to the trunk yet:

    http://anonsvn.jboss.org/repos/netty/branches/httpPost/

Alternatively, if you have a multipart form decoder that accepts a
stream, you could convert the content ChannelBuffer into InputStream and
feed it to the decoder.  However, due to InputStream's blocking nature,
it won't be very efficient.

Sending a multipart form data is much easier, but that's not what you
want perhaps.

HTH,
Trustin

rajks wrote:
> Does the current decoder handle the multipart/form-data post request ?? any
> code sample to handle it ???
> 
> Thanks
> Raj

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/



More information about the netty-users mailing list