public class ServletWebSocketHandlerRegistration extends AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,java.lang.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,java.lang.String> mappings,
SockJsService sockJsService,
WebSocketHandler handler,
java.lang.String pathPattern) |
protected void |
addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,java.lang.String> mappings,
WebSocketHandler wsHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
java.lang.String path) |
protected MultiValueMap<HttpRequestHandler,java.lang.String> |
createMappings() |
addHandler, addInterceptors, getHandshakeHandler, getInterceptors, getMappings, setAllowedOrigins, setHandshakeHandler, withSockJS
public ServletWebSocketHandlerRegistration(TaskScheduler sockJsTaskScheduler)
protected MultiValueMap<HttpRequestHandler,java.lang.String> createMappings()
createMappings
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,java.lang.String>>
protected void addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,java.lang.String> mappings, SockJsService sockJsService, WebSocketHandler handler, java.lang.String pathPattern)
addSockJsServiceMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,java.lang.String>>
protected void addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,java.lang.String> mappings, WebSocketHandler wsHandler, HandshakeHandler handshakeHandler, HandshakeInterceptor[] interceptors, java.lang.String path)
addWebSocketHandlerMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,java.lang.String>>