open class WebMvcStompEndpointRegistry : StompEndpointRegistry
A registry for STOMP over WebSocket endpoints that maps the endpoints with a org.springframework.web.servlet.HandlerMapping for use in Spring MVC.
Author
Rossen Stoyanchev
Author
Artem Bilan
Since
4.0
WebMvcStompEndpointRegistry(webSocketHandler: WebSocketHandler, transportRegistration: WebSocketTransportRegistration, defaultSockJsTaskScheduler: TaskScheduler) |
open fun addEndpoint(vararg paths: String): StompWebSocketEndpointRegistration |
|
open fun getHandlerMapping(): AbstractHandlerMapping
Return a handler mapping with the mapped ViewControllers. |
|
open fun setErrorHandler(errorHandler: StompSubProtocolErrorHandler): WebMvcStompEndpointRegistry |
|
open fun setOrder(order: Int): Unit
Set the order for the resulting org.springframework.web.servlet.HandlerMapping relative to other handler mappings configured in Spring MVC. The default value is 1. |
|
open fun setUrlPathHelper(urlPathHelper: UrlPathHelper): Unit
Set the UrlPathHelper to configure on the |