public class ServletWebSocketHandlerRegistration extends AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>
WebSocketHandler
request handling
including SockJS fallback options.Constructor and Description |
---|
ServletWebSocketHandlerRegistration(TaskScheduler sockJsTaskScheduler) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings,
SockJsService sockJsService,
WebSocketHandler handler,
String pathPattern) |
protected void |
addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings,
WebSocketHandler wsHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
String path) |
protected MultiValueMap<HttpRequestHandler,String> |
createMappings() |
addHandler, addInterceptors, getHandshakeHandler, getInterceptors, getMappings, setHandshakeHandler, setInterceptors, withSockJS
public ServletWebSocketHandlerRegistration(TaskScheduler sockJsTaskScheduler)
protected MultiValueMap<HttpRequestHandler,String> createMappings()
createMappings
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>
protected void addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings, SockJsService sockJsService, WebSocketHandler handler, String pathPattern)
addSockJsServiceMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>
protected void addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings, WebSocketHandler wsHandler, HandshakeHandler handshakeHandler, HandshakeInterceptor[] interceptors, String path)
addWebSocketHandlerMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,String>>