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

setCopyHttpSessionId

open fun setCopyHttpSessionId(copyHttpSessionId: Boolean): Unit

Whether the HTTP session id should be copied to the handshake attributes under the key #HTTP_SESSION_ID_ATTR_NAME.

By default this is "true".

Parameters

copyHttpSessionId - whether to copy the HTTP session id.