synchronoss / nio-multipart

A multipart library that uses nio and asynchronous processing
Apache License 2.0
93 stars 20 forks source link

typo in readme code snippet #25

Open LeiYangGH opened 1 year ago

LeiYangGH commented 1 year ago
MultipartContext context = MultipartContext(request.getContentType(), request.getContentLength(), request.getCharacterEncoding())

here missing new after =.

NioMultipartParser parser = Multipart.multipart(context).forNio(listener);

forNio should be forNIO