Question: What is the purpose of the @RequestBody annotation?

  1. to create a ThreadLocal byte stream that allows a request to be encoded for reading directly into a database
  2. to automatically generate a ThreadLocal byte stream from the body of a request that allows a request to scanned for security risks
  3. to indicate whether an annotated handler method parameter should be bound to the web request body, which is converted by an HttpMessageConverter
  4. to automatically validate the characters contained in a request to ensure that they are a valid character encoding

Answer: The correct answer of the above question is Option C:to indicate whether an annotated handler method parameter should be bound to the web request body, which is converted by an HttpMessageConverter