Direction: Choose the correct option
Q1.
What is @RequestMapping used for?
Direction: Choose the correct option
Q2.
Which of the following are shortcut annotations for @RequestMapping?
Direction: Choose the correct option
Q3.
How do you restrict a mapping to a specific HTTP method?
Direction: Choose the correct option
Q4.
What does the headers attribute in @RequestMapping do?
Direction: Choose the correct option
Q5.
What does params attribute in @RequestMapping do?
Direction: Choose the correct option
Q6.
How do you map requests that consume a specific content type (e.g., application/json)?
Direction: Choose the correct option
Q7.
How do you map requests that produce a specific content type?
Direction: Choose the correct option
Q8.
What is the purpose of @RequestMapping on a controller class?
Direction: Choose the correct option
Q9.
Can @RequestMapping be used on methods with specific parameters?
Direction: Choose the correct option
Q10.
What happens if multiple mapping annotations match a request?
