|
From: Bill B. <bb...@re...> - 2008-04-07 18:30:56
|
Sorry, that should be
@ConsumeMime("application/xml;schema=foo")
@PUT
public void putMe(String xml) {}
Bill Burke wrote:
> Christian,
>
> It doesn't work already?
>
> Can't you do:
>
> @ConsumeMime("application/xml;schema=foo")
> @GET
> public String getMe() {}
>
> Or do you mean something else?
>
>
> FYI, to subscribe:
> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>
>
>
> Christian Sadilek wrote:
>> Hi Bill,
>>
>> are there any plans to support MIME properties for XML content
>> negotiation in RESTeasy like you described in your Blog
>> http://bill.burkecentral.com/2008/03/05/restful-xml-content-negotitation?
>>
>> I would like to expose two different xml representations of a resource
>> and the solution you presented would fit perfectly.
>>
>> Thank you!
>>
>> I hope it's o.k. to send you this email directly. I could not find a
>> user forum.
>>
>> kind regards,
>> Christian Sadilek
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|