spring-framework / org.springframework.web.socket.config.annotation / WebSocketHandlerRegistration / addHandler

addHandler

abstract fun addHandler(handler: WebSocketHandler, vararg paths: String): WebSocketHandlerRegistration

Add more handlers that will share the same configuration (interceptors, SockJS config, etc)