You may want to wait on that patch. I'm playing with it and have already found a problem. If you have a class in your signature that implements MultivaluedMap you get an exception thrown. If you want only the option of using MultivaluedMap in the signature then leave FormEncodingReaderProvider unchange. If you want to allow a class that implements MultivaluedMap in the method signature then stay tuned ... I'm working on it.
On Wed, Nov 19, 2008 at 9:47 AM, Sergey Beryozkin <[EMAIL PROTECTED]> wrote: > Yea, agreed - but if are you using MultivaluedMap in your signature then it > should work fine. > BradO - if you're reading it - it's a perfect time for a patch :-), unless > Tom does it first :-) > > Thanks, Sergey > > > ----- Original Message ----- From: "Tom McGee" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, November 19, 2008 5:37 PM > Subject: problem in FormEncodingReaderProvider or in my java knowledge > > >> Line 47 of org.apache.cxf.jaxrs.provider. FormEncodingReaderProvider >> reads: >> return type.isAssignableFrom(MultivaluedMap.class); >> I think maybe it should be: >> return MultivaluedMap.class.isAssignableFrom(type); >> Or maybe I'm just showing my ignorance :-). >> > >
