Interface ViewModelProcessor<T>

Type Parameters:
T - the type this model processor should apply to
All Known Implementing Classes:
SecurityViewModelProcessor

public interface ViewModelProcessor<T>
Implementers of ViewModelProcessor process the ModelAndView and modify it prior to rendering.
Since:
1.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(@NonNull io.micronaut.http.HttpRequest<?> request, @NonNull ModelAndView<T> modelAndView)
    Invoked prior to the view rendering.
  • Method Details

    • process

      void process(@NonNull @NonNull io.micronaut.http.HttpRequest<?> request, @NonNull @NonNull ModelAndView<T> modelAndView)
      Invoked prior to the view rendering.
      Parameters:
      request - The request being processed
      modelAndView - The model and view