public class ServletWebSocketHandlerRegistration extends AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,java.lang.String>>
WebSocketHandler
request handling
including SockJS fallback options.Constructor and Description |
---|
ServletWebSocketHandlerRegistration() |
ServletWebSocketHandlerRegistration(TaskScheduler scheduler)
Deprecated.
as of 5.0 a TaskScheduler is not provided upfront, not until
it is obvious that it is needed, see
AbstractWebSocketHandlerRegistration.getSockJsServiceRegistration() . |
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 webSocketHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
java.lang.String path) |
protected MultiValueMap<HttpRequestHandler,java.lang.String> |
createMappings() |
addHandler, addInterceptors, getHandshakeHandler, getInterceptors, getMappings, getSockJsServiceRegistration, setAllowedOrigins, setHandshakeHandler, withSockJS
public ServletWebSocketHandlerRegistration()
@Deprecated public ServletWebSocketHandlerRegistration(TaskScheduler scheduler)
AbstractWebSocketHandlerRegistration.getSockJsServiceRegistration()
.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 webSocketHandler, HandshakeHandler handshakeHandler, HandshakeInterceptor[] interceptors, java.lang.String path)
addWebSocketHandlerMapping
in class AbstractWebSocketHandlerRegistration<MultiValueMap<HttpRequestHandler,java.lang.String>>