Hi all,

Is there something in CXF that is similar to RESTServiceDiscovery in RESTEasy?

I think the idea is to put something in your class def:
 @XmlElementRef
 private RESTServiceDiscovery rest;

and it will automatically expand to XML elements like:
 <atom:link href="http://localhost:8081/books"; rel="add"/> // POST
 <atom:link href="http://localhost:8081/book/foo"; rel="self"/> // GET

Basically exposing the allowed operations, in addition to the data alone...

I like this capability of RESTEasy, but don't want to go that route yet...

Thanks.
-Simon

Reply via email to