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

<init>

SessionAttributesHandler(handlerType: Class<*>, sessionAttributeStore: SessionAttributeStore)

Create a new instance for a controller type. Session attribute names and types are extracted from the @SessionAttributes annotation, if present, on the given type.

Parameters

handlerType - the controller type

sessionAttributeStore - used for session access