I have a class called InjectDemoResource in which I have created a method getParam()
which is as below
As you can see I have set the path to /injectdemo
and /annotations
, I used the the @MatrixParam
annotation in the getParam()
method.
I am using Rest API client - Postman in which i typed the URL in the following way:
http://localhost:8080/Messenger/webapi/injectdemo/annotations:param=value