Close
« Tutorial

Spring MVC - Handling HTTP PUT Request MCQ

0/13
0 ✓
0 ✗

1. Which HTTP methods can a web browser submit form data with by default?

2. Which type of client can send HTTP PUT, PATCH and DELETE requests?

3. According to the Servlet API, for which HTTP method must ServletRequest.getParameter*() support form field access?

4. Why is form data in a PUT request not available through getParameter() by default?

5. What is the purpose of FormContentFilter in Spring?

6. Which content type must a PUT request have for FormContentFilter to read its form data?

7. Which HTTP methods does FormContentFilter handle?

8. Which Spring annotation maps a controller method to HTTP PUT requests?

9. Which method parameter type can be used with @RequestBody to read PUT form data as key and value pairs?

10. Since which Spring version is FormContentFilter available?

11. Which filter was used for PUT form data before FormContentFilter was introduced?

12. What happened to HttpPutFormContentFilter in Spring 5.1?

13. In which Spring module is FormContentFilter provided?

14. A controller handles a PUT request and needs the form values from the body. What is one way to read them in Spring MVC?

15. How can a PUT request be sent from a web page without using a normal form submit?

Join