spring-framework / org.springframework.web.socket.config.annotation / ServletWebSocketHandlerRegistry / setOrder

setOrder

open fun setOrder(order: Int): Unit

Set the order for the resulting SimpleUrlHandlerMapping relative to other handler mappings configured in Spring MVC.

The default value is 1.