spring-framework / org.springframework.web.method.annotation / ModelFactory / <init>

<init>

ModelFactory(@Nullable handlerMethods: MutableList<InvocableHandlerMethod>, binderFactory: WebDataBinderFactory, attributeHandler: SessionAttributesHandler)

Create a new instance with the given @ModelAttribute methods.

Parameters

handlerMethods - the @ModelAttribute methods to invoke

binderFactory - for preparation of BindingResult attributes

attributeHandler - for access to session attributes