Honeywell interview question

Difference between @Controller and @RestController. How does request mapping resolution happen?