In Jersey Rest API
if any common request parameters are there then we can capture that value at RootResource level using the below code.
@QueryParam("q")
private String qQueryParams
Is there any similar approach in Spring Rest API.
In other words, all my endpoint URL will contain the query parameter "q". How to capture this data at class level instead of every request.
Thanks, Vijay