spring-framework / org.springframework.web.server.session / HeaderWebSessionIdResolver / setHeaderName

setHeaderName

open fun setHeaderName(headerName: String): Unit

Set the name of the session header to use for the session id. The name is used to extract the session id from the request headers as well to set the session id on the response headers.

By default set to DEFAULT_HEADER_NAME

Parameters

headerName - the header name