title: @QueryParam to restrict only one value in URL
body: <p>My URL is <a href="http://example.com/api/orders?stateCode=10" rel="nofollow noreferrer">http://example.com/api/orders?stateCode=10</a> and when I try to access the URl its working perfectly. In my condition <a href="http://example.com/api/orders?stateCode=TX&amp;id=10" rel="nofollow noreferrer">http://example.com/api/orders?stateCode=TX&amp;id=10</a> this should not work. Basically the URL should have only one queryparam value not more than that. Is to posiible to restrict the URL to accept only one queryparm in JAVA Rest API</p>