/how-cxf-handles-apis-if-those-are-not-annotated-with-the-path-variable
On Mon, Oct 19, 2015 at 8:04 PM, Sergey Beryozkin
wrote:
> If @Path is not set then it is default to the empty value, ex, all the
> methods getText1...getText6 match
>
> GET /testqa
> Accept: application/jso
If @Path is not set then it is default to the empty value, ex, all the
methods getText1...getText6 match
GET /testqa
Accept: application/json
and the selection between those methods is random, possibly the 1st of
those methods but is not guaranteed...This is a standard 2.0 selection
process
During my work I encountered below scenario, On which : getText1,
getText2,getText3,getText4,getText5,getText6 are without @Path annotations,
But when I call the API (http://localhost:8080/.../testqa/ )it always show
: {"name":"Sumit1 Arora","age":21,"address":"Lakshay1 Arora"}
@Service("qaservi