Capgemini interview question

Difference between @controller and @restcontroller