Async request processing in Spring MVC - Part 2
As we have seen in the previous part, the servlet handles the http request processing by directly operating on the http servlet request and response objects. However, wouldn't it be convenient if it also could
- figure out which http request has to go to which controller method
- convert the payload to the corresponding DTO
- resolve path and request variables
- create the appropriate serialized response
Sounds like a lot of tedious work. Luckily, Spring already does that for us by providing a single servlet called the Dispatcher Servlet!