public class ServletStompEndpointRegistration extends AbstractStompEndpointRegistration<org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String>>
Constructor and Description |
---|
ServletStompEndpointRegistration(String[] paths,
org.springframework.web.socket.WebSocketHandler wsHandler,
org.springframework.scheduling.TaskScheduler sockJsTaskScheduler) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSockJsServiceMapping(org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> mappings,
org.springframework.web.socket.sockjs.SockJsService sockJsService,
org.springframework.web.socket.WebSocketHandler wsHandler,
String pathPattern) |
protected void |
addWebSocketHandlerMapping(org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> mappings,
org.springframework.web.socket.WebSocketHandler wsHandler,
org.springframework.web.socket.server.HandshakeHandler handshakeHandler,
String path) |
protected org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> |
createMappings() |
getMappings, setHandshakeHandler, withSockJS
public ServletStompEndpointRegistration(String[] paths, org.springframework.web.socket.WebSocketHandler wsHandler, org.springframework.scheduling.TaskScheduler sockJsTaskScheduler)
protected org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> createMappings()
createMappings
in class AbstractStompEndpointRegistration<org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String>>
protected void addSockJsServiceMapping(org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> mappings, org.springframework.web.socket.sockjs.SockJsService sockJsService, org.springframework.web.socket.WebSocketHandler wsHandler, String pathPattern)
addSockJsServiceMapping
in class AbstractStompEndpointRegistration<org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String>>
protected void addWebSocketHandlerMapping(org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String> mappings, org.springframework.web.socket.WebSocketHandler wsHandler, org.springframework.web.socket.server.HandshakeHandler handshakeHandler, String path)
addWebSocketHandlerMapping
in class AbstractStompEndpointRegistration<org.springframework.util.MultiValueMap<org.springframework.web.HttpRequestHandler,String>>