View resolution is a process used by the framework to determine which view needs to be rendered for a received request. The complete view resolution process enables us to render different views for the same requests, based on content parameters. Before we start to build different views, let's discuss how the framework determines what view it needs to render.
In the last chapter, we configured HandlerFunction for handling requests. This function gives back a HandlerResult. The HandlerResult contains not only the result, but also the attributes passed into the request. The framework then invokes ViewResolutionResultHandler, using the HandlerResult. The ViewResolutionResultHandler determines the correct view by validating the ...