What is the specified behavior if many parts are processed but fails midway
because the request exceeds a byte threshold? Is onError() expected to be
called like any other error? I am thinking about a clean-up mechanism so
the listener has a chance to undo any changes it was accumulating.
Cheers,
Paul
On Wed, Jan 6, 2016 at 11:55 PM, Greg Wilkins <gregw_at_webtide.com> wrote:
>
> All,
>
> To further this discussion, here are two more fully formed interfaces for
> what I think might be suitable for parameters and multipart, with a bit of
> javadoc
>
> Note that I'm not proposing we change the Part API - which has a blocking
> aspect via it's input stream. However, I propose that a Part is only
> returned to the listener when it is fully read - eitehr into memory or into
> a file (as per the current configuration).
>
> thoughts?
>
> --
> Greg Wilkins <gregw@webtide.com> CTO http://webtide.com
>