Class SplibControllerAdvice

java.lang.Object
jp.ecuacion.splib.web.advice.SplibControllerAdvice

@ControllerAdvice public class SplibControllerAdvice extends Object
Provides common procedure that are supposed to be done before controllers are called.
  • Constructor Details

    • SplibControllerAdvice

      public SplibControllerAdvice()
  • Method Details

    • modelAttribute

      @ModelAttribute public void modelAttribute(org.springframework.ui.Model model)
      Sets objects to model and add model to request attribute.

      When the browser is redirected, this method also restores objects stored before the redirect.

      Parameters:
      model - model