Class DefaultModelAndViewRenderer<T>

java.lang.Object
io.micronaut.views.DefaultModelAndViewRenderer<T>
Type Parameters:
T - The model type
All Implemented Interfaces:
ModelAndViewRenderer<T,io.micronaut.http.HttpRequest<?>>

@Requires(classes=io.micronaut.http.HttpRequest.class) @Singleton @Internal public class DefaultModelAndViewRenderer<T> extends Object implements ModelAndViewRenderer<T,io.micronaut.http.HttpRequest<?>>
Default implementation of ModelAndViewRenderer.

Given a ModelAndView it will find the view by name, and render it with the model.

Since:
5.2.0
Author:
Tim Yates