fun initModel(request: NativeWebRequest, container: ModelAndViewContainer, handlerMethod: HandlerMethod): Unit
Populate the model in the following order:
@SessionAttributes. @ModelAttribute methods @ModelAttribute method arguments also listed as @SessionAttributes and ensure they're present in the model raising an exception if necessary.
container - a container with the model to be initialized
handlerMethod - the method for which the model is initialized