users@jersey.java.net

Re: [Jersey] Hello World! and Welcome to jersey-multipart

From: Craig McClanahan <Craig.McClanahan_at_Sun.COM>
Date: Thu, 20 Nov 2008 23:26:18 -0800

Gili wrote:
> Craig McClanahan wrote:
>
>>> Nope, the manual configuration is still required. Though
>>> MultiPartBeanProvider no longer exists... Am I supposed to use
>>> MultipartFormDispatchProvider instead?
>>>
>>>
>> I should have noticed this earlier ... sorry.
>>
>> MultiPartBeanProvider only (and still) exists in the unit tests for
>> jersey-multipart. It's not part of the actual API like the other three
>> classes are.
>>
>>
>
> Okay. Should I still bother including MultipartFormDispatchProvider?
>
> Gili
>
Yes, if you're using the older Jersey support for multipart/form-data.
No if you're using jersey-multipart for that purpose. I think Paul has
some notions about consolidating this support into jersey-multipart
before 1.0.1 ships so there won't be two different ways to do this long
term.

Craig