Hi Tim,

I didn't follow the ful discussion, but did you take a look to JAX-RS?

best regards
   Stephan

Tim Peierls schrieb:
>
>     So, if we are back using runtime annotations, there is no
>     particular type safety in play:
>      
>         Representation representXml();
>      
>     would be as good (and even more compact) as:
>      
>        @Variant("xml")
>        Representation toXml();
>      
>     or if you want to be more explicit about the mediatype:
>      
>        @Variant("text/xml")
>        Representation toXml();
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1055994

Reply via email to