spring-framework / org.springframework.web.socket.server.support / HttpSessionHandshakeInterceptor / setCopyAllAttributes

setCopyAllAttributes

open fun setCopyAllAttributes(copyAllAttributes: Boolean): Unit

Whether to copy all attributes from the HTTP session. If set to "true", any explicitly configured attribute names are ignored.

By default this is set to either "true" or "false" depending on which constructor was used (default or with attribute names respectively).

Parameters

copyAllAttributes - whether to copy all attributes