Package io.micronaut.views
Interface ViewsModelDecorator
- All Known Implementing Classes:
DefaultViewsModelDecorator
Decorates a Views Model.
- Since:
- 3.0.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decorate
(io.micronaut.http.HttpRequest<?> request, @NonNull ModelAndView<?> modelAndView) decorates a model.
-
Method Details
-
decorate
void decorate(io.micronaut.http.HttpRequest<?> request, @NonNull @NonNull ModelAndView<?> modelAndView) decorates a model.- Parameters:
request
- The http request this model relates to.modelAndView
- The ModelAndView to be enhanced.
-