Vodafone Idea interview question

1.what annotation spring used? 2.differance between @pathparam and @requestparam