Hi.

You could always put your path statements on each method.  This way you
could choose which to expose and which not to expose.

Regards,

Robert

___________
Robert Moskal
Most Media
Brooklyn, USA
214-799-1268


On Wed, Nov 7, 2012 at 12:49 PM, Dominique de Vito <ddv36...@yahoo.fr>wrote:

> Hi,
>
> My use case: I have had a **single** interface where was defined both:
> - my (annotated) REST methods
> - my EJB methods, which are exactly the same than my REST methods
> because my REST interface is implemented through an EJB (3.0).
>
> I wanted to declare an EJB method that would not be a REST method.
> So, I've put this method into my REST interface, but without any REST
> annotation associated with this method.
>
> During my test, Rest-Easy rised an error, because, even if  this new
> method was not associated with any REST annotation, the class has one: a
> @Path annotation.
> So, it looks like Rest-Easy is expecting this new method to be a REST
> method too (like others within the same interface), and then, Rest-Easy is
> expected REST annotations with this new method.
>
> So, I am looking for the following: tell Rest-Easy this or that method (of
> an interface) is not to be understood as a REST method.
>
> Is there a way to do that ?
> Thanks.
>
> Regards,
> Dominique
>
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>
>
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to