public class WebMvcStompWebSocketEndpointRegistration extends Object implements StompWebSocketEndpointRegistration
Constructor and Description |
---|
WebMvcStompWebSocketEndpointRegistration(String[] paths,
WebSocketHandler webSocketHandler,
org.springframework.scheduling.TaskScheduler sockJsTaskScheduler) |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> |
getMappings() |
StompWebSocketEndpointRegistration |
setHandshakeHandler(HandshakeHandler handshakeHandler)
Provide a custom or pre-configured
HandshakeHandler . |
SockJsServiceRegistration |
withSockJS()
Enable SockJS fallback options.
|
public WebMvcStompWebSocketEndpointRegistration(String[] paths, WebSocketHandler webSocketHandler, org.springframework.scheduling.TaskScheduler sockJsTaskScheduler)
public StompWebSocketEndpointRegistration setHandshakeHandler(HandshakeHandler handshakeHandler)
HandshakeHandler
.setHandshakeHandler
in interface StompWebSocketEndpointRegistration
public SockJsServiceRegistration withSockJS()
withSockJS
in interface StompWebSocketEndpointRegistration
public final org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> getMappings()