public interface ViewModelProcessor
ViewModelProcessor
process the ModelAndView
and modify it prior to rendering by
either adding or removing entries.Modifier and Type | Method and Description |
---|---|
void |
process(io.micronaut.http.HttpRequest<?> request,
ModelAndView<java.util.Map<java.lang.String,java.lang.Object>> modelAndView)
Invoked prior to the view rendering.
|
void process(@Nonnull io.micronaut.http.HttpRequest<?> request, @Nonnull ModelAndView<java.util.Map<java.lang.String,java.lang.Object>> modelAndView)
request
- The request being processedmodelAndView
- The model and view