T
- the type this model processor should apply topublic interface ViewModelProcessor<T>
ViewModelProcessor
process the ModelAndView
and modify it prior to rendering.Modifier and Type | Method and Description |
---|---|
void |
process(io.micronaut.http.HttpRequest<?> request,
ModelAndView<T> modelAndView)
Invoked prior to the view rendering.
|
void process(@NonNull io.micronaut.http.HttpRequest<?> request, @NonNull ModelAndView<T> modelAndView)
request
- The request being processedmodelAndView
- The model and view