Hi,
I am using a 3rd party API that returns a list of query parameters
Is there a way in RestEasy to convert such a list (in a MessageBodyReader)
into a POJO with, let's say @Form annotations?
Thanks
--
*Olivier
*
--
Li
MessageBodyReader is for reading Http message bodies. Also, I"m not
exactly sure what you mean/want anyways.
On 5/2/12 6:35 PM, Olivier Brand wrote:
> Hi,
>
> I am using a 3rd party API that returns a list of query parameters
> Is there a way in RestEasy to convert such a list (in a
> MessageBod
Yes, maybe I was not clear in my question. Basically I am using a third
party API that returns as body a list of query params: param1=www¶m2=ddd
I have just finished implementing a custom message body reader that takes
this string and convert it back to a Java Bean.
No need further help.
Olivier
Well, isn't that the application/x-www-form-urlencoded format?
On 5/2/12 8:45 PM, Olivier Brand wrote:
> Yes, maybe I was not clear in my question. Basically I am using a third
> party API that returns as body a list of query params: param1=www¶m2=ddd
>
> I have just finished implementing a custom
Here is the detail of what I am doing and getting:
I am using the RestEasy client framework, accessing it via a service
interface
The methods are POST. The 3rd party "REST" service returns a list a query
strings BUT the type is marked as text/html;utf-8
When running without my custom reader, the