public class WebMvcStompWebSocketEndpointRegistration extends Object implements StompWebSocketEndpointRegistration
| Constructor and Description |
|---|
WebMvcStompWebSocketEndpointRegistration(String[] paths,
WebSocketHandler webSocketHandler,
TaskScheduler sockJsTaskScheduler) |
| Modifier and Type | Method and Description |
|---|---|
MultiValueMap<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, TaskScheduler sockJsTaskScheduler)
public StompWebSocketEndpointRegistration setHandshakeHandler(HandshakeHandler handshakeHandler)
HandshakeHandler.setHandshakeHandler in interface StompWebSocketEndpointRegistrationpublic SockJsServiceRegistration withSockJS()
withSockJS in interface StompWebSocketEndpointRegistrationpublic final MultiValueMap<HttpRequestHandler,String> getMappings()