Class SplibControllerAdvice
java.lang.Object
jp.ecuacion.splib.web.advice.SplibControllerAdvice
Provides common procedure that are supposed to be done before controllers are called.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmodelAttribute(org.springframework.ui.Model model) Sets objects to model and add model to request attribute.
-
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
-