Interface ViewsModelDecorator

All Known Implementing Classes:
DefaultViewsModelDecorator

@DefaultImplementation(DefaultViewsModelDecorator.class) public interface ViewsModelDecorator
Decorates a Views Model.
Since:
3.0.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.