Resolving views

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 ...

Get Hands-On Reactive Programming with Reactor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.