spring-framework / org.springframework.web.method.annotation / ModelFactory / updateModel

updateModel

fun updateModel(request: NativeWebRequest, container: ModelAndViewContainer): Unit

Promote model attributes listed as @SessionAttributes to the session. Add BindingResult attributes where necessary.

Parameters

request - the current request

container - contains the model to update

Exceptions

Exception - if creating BindingResult attributes fails