users@jax-rs-spec.java.net

[jax-rs-spec users] Re: Default for missing _at_Path

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 29 Feb 2016 13:18:25 -0500

Go read the Javadoc for @Path. It is explained there and IMO, needs no
further explanation.


On 2/29/2016 12:32 PM, markus_at_headcrashing.eu wrote:
> According to the current wording of the JAX-RS 2.0 specification, a
> compliant JAX-RS resource class not necessarily must have a @Path
> annotation (it is enough to have @GET for example). Maybe I am blind,
> but I cannot see an explanation what the default path shall be in case
> no @Path is found. So my question is:
>
> How do Jersey / CXF / RestEasy handle this case currently, and won't
> it be a good idea if we add a short note to the JAX-RS 2.1 spec how it
> SHALL be like?
>
> -Markus
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com