spring-framework / org.springframework.web.method.annotation / SessionAttributesHandler / retrieveAttributes

retrieveAttributes

open fun retrieveAttributes(request: WebRequest): MutableMap<String, Any>

Retrieve "known" attributes from the session, i.e. attributes listed by name in @SessionAttributes or attributes previously stored in the model that matched by type.

Parameters

request - the current request

Return
a map with handler session attributes, possibly empty